@@ -649,7 +649,7 @@ discard block |
||
649 | 649 | $modelClass = $schemaClass::MODEL; |
650 | 650 | assert($schemaInfo->hasRelationship($modelClass, $modelRelName)); |
651 | 651 | assert( |
652 | - ($type =$schemaInfo->getRelationshipType($modelClass, $modelRelName)) === RelationshipTypes::BELONGS_TO || |
|
652 | + ($type = $schemaInfo->getRelationshipType($modelClass, $modelRelName)) === RelationshipTypes::BELONGS_TO || |
|
653 | 653 | $type === RelationshipTypes::BELONGS_TO_MANY |
654 | 654 | ); |
655 | 655 | |
@@ -904,7 +904,7 @@ discard block |
||
904 | 904 | */ |
905 | 905 | private static function assertClassValueDefined(?string $value): void |
906 | 906 | { |
907 | - assert(empty($value) === false, 'Value should be defined in `' . static::class . '`.'); |
|
907 | + assert(empty($value) === false, 'Value should be defined in `'.static::class.'`.'); |
|
908 | 908 | } |
909 | 909 | |
910 | 910 | /** |
@@ -917,7 +917,7 @@ discard block |
||
917 | 917 | { |
918 | 918 | assert( |
919 | 919 | array_key_exists($interface, class_implements($class)) === true, |
920 | - "Class `$class` should implement `" . $interface . '` interface.' |
|
920 | + "Class `$class` should implement `".$interface.'` interface.' |
|
921 | 921 | ); |
922 | 922 | } |
923 | 923 | } |