You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?phpdeclare(strict_types=1);
publicfunction databaseToProperty($value, FieldMap$fieldMap): bool
public function propertyToDatabase($value, FieldMap$fieldMap): int
The text was updated successfully, but these errors were encountered:
So is strict return types a nice to have (something a contributer should to for newer code) or do you want to keep the code consistent by not using strict return types in general?
While refactoring some parts and fixing test suite, we're moving to strict types (see #64 and #61).
At the end, Propel 3 will be almost totally strict typed.
composer.json
shows that minimum PHP version is7.1.x
- so why don't use strict types everywhere? eg. https://github.com/propelorm/Propel3/blob/master/src%2FPropel%2FCommon%2FTypes%2FSQL%2FBooleanType.phpThe text was updated successfully, but these errors were encountered: