Completed
Push — develop ( 6173d9...1863cd )
by Neomerx
09:44
created
src/Http/Traits/DefaultControllerMethodsTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.