Skip to content

Előkészület PHPStan-ra#31

Open
szepeviktor wants to merge 1 commit into
voov:masterfrom
szepeviktor:phpstan
Open

Előkészület PHPStan-ra#31
szepeviktor wants to merge 1 commit into
voov:masterfrom
szepeviktor:phpstan

Conversation

@szepeviktor

@szepeviktor szepeviktor commented Feb 16, 2020

Copy link
Copy Markdown
Contributor

Jól javítottam ki?

A HTTP\Request::request mit ad vissza? Mi van a $jsonData['data']-ban?

{
   "success":true,
   "type":"invoices",
   "data":[
      {
         "id":1938103373,
         "attributes":{
            "date":"2012-07-30",
            "fulfillment_date":"2012-07-30",
            "due_date":"2015-08-07",
            "invoice_no":"2015-000001",
            "total":"4445.000",

https://billingo.readthedocs.io/en/latest/invoices/#show-the-invoices

Egy tömb, amiben névtelen objektumok vannak? A json_decode kapott egy true-t, akkor az az objektum egy asszociatív tömbbé válik?
Akkor az nem ResponseInterface ugye?

@szepeviktor szepeviktor changed the title Előkészült PHPStan-ra Előkészület PHPStan-ra Feb 16, 2020
@szepeviktor

Copy link
Copy Markdown
Contributor Author

amúgy nincs olyan, hogy @return mixed|ResponseInterface - ami mixed, annak már annyi :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant