Test Setup Failed
Pull Request — master (#91)
by Alex
04:04
created
src/POData/Providers/Metadata/SimpleMetadataProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
         $type = null;
279 279
         if ($typeKind == ResourceTypeKind::ENTITY) {
280 280
             list($oet, $entitySet) = $this->metadataManager->addEntityType($name);
281
-            assert($oet instanceof TEntityTypeType, "Entity type ".$name. " not successfully added");
281
+            assert($oet instanceof TEntityTypeType, "Entity type " . $name . " not successfully added");
282 282
             $type = new ResourceEntityType($refClass, $oet, $this);
283 283
             $typeName = $type->getFullName();
284 284
             $returnName = Str::plural($typeName);
@@ -567,7 +567,7 @@  discard block
 block discarded – undo
567 567
             );
568 568
         }
569 569
         if (!in_array($resourceMult, $allowedMult)) {
570
-            throw new InvalidOperationException("Supplied multiplicity ".$resourceMult." not valid");
570
+            throw new InvalidOperationException("Supplied multiplicity " . $resourceMult . " not valid");
571 571
         }
572 572
 
573 573
         $resourcePropertyKind = ('*' == $resourceMult)
Please login to merge, or discard this patch.
src/POData/Providers/Metadata/ResourceFunctionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
         $expectedParms = count($baseParms);
130 130
         $actualParms = count($parms);
131 131
         if ($expectedParms != $actualParms) {
132
-            $msg = "Was expecting ". $expectedParms. " arguments, received ".$actualParms." instead";
132
+            $msg = "Was expecting " . $expectedParms . " arguments, received " . $actualParms . " instead";
133 133
             throw new \InvalidArgumentException($msg);
134 134
         }
135 135
 
Please login to merge, or discard this patch.