PCextreme / cloudstack-php

Native PHP Cloudstack client
MIT License
10 stars 9 forks source link

Stricter Typing #18

Closed FrontEndCoffee closed 6 years ago

FrontEndCoffee commented 6 years ago

Implements PHP return types where possible.

Enforces strict types on all classes, this means that typehints now throw a TypeError when a value doesn't match the typehint type. Before this PR those values where attempted to be casted.