NicklasWallgren / PokemonGoAPI-PHP

Pokemon Go API PHP library
BSD 2-Clause "Simplified" License
130 stars 51 forks source link

Where did getType1String() go? #166

Closed baskettcase closed 7 years ago

baskettcase commented 7 years ago

There used to be a method to get the pokemon type getType1String(), but I can't find it in the Pokemon.php file any longer. There used to be getMove1String() also, but looks like it has changed to getMov1, so that was easy to figure out, but for the life of me I can't figure out the pokemon type... ideas?

NicklasWallgren commented 7 years ago

The method is still located in NicklasW\PkmGoApi\Api\Pokemon\Support trait which is used in NicklasW\PkmGoApi\Api\Pokemon :)

baskettcase commented 7 years ago

Thanks, I found that it was renamed to getType1 also, but yeah in a different file. Thanks! :)