Completed
Push — master ( d614e4...fbd5a2 )
by Christopher
11:35 queued 06:50
created
src/MetadataV3/edm/TSchemaType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,10 +122,10 @@
 block discarded – undo
122 122
         foreach ($entitySets as $eset) {
123 123
             $eSetType = $eset->getEntityType();
124 124
             if (substr($eSetType, 0, strlen($this->getNamespace())) != $this->getNamespace()) {
125
-                $msg = "Types for Entity Sets should have the namespace at the beginning " . __CLASS__;
125
+                $msg = "Types for Entity Sets should have the namespace at the beginning ".__CLASS__;
126 126
                 return false;
127 127
             }
128
-            $eSetType = str_replace($this->getNamespace() . ".", "", $eSetType);
128
+            $eSetType = str_replace($this->getNamespace().".", "", $eSetType);
129 129
             if (!in_array($eSetType, $entityTypeNames)) {
130 130
                 $msg = "entitySet Types should have a matching type name in entity Types";
131 131
                 return false;
Please login to merge, or discard this patch.
src/MetadataV3/edm/TEntityTypeType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -467,20 +467,20 @@
 block discarded – undo
467 467
         $pArray = [];
468 468
         foreach ($this->getProperty() as $prop) {
469 469
             if (in_array($prop->getName(), $pArray)) {
470
-                $msg = "Property Names, and Navigation Property Must Be Unique " . __CLASS__;
470
+                $msg = "Property Names, and Navigation Property Must Be Unique ".__CLASS__;
471 471
                 return false;
472 472
             }
473 473
             $pArray[] = $prop->getName();
474 474
         }
475 475
         foreach ($this->getNavigationProperty() as $prop) {
476 476
             if (in_array($prop->getName(), $pArray)) {
477
-                $msg = "Property Names, and Navigation Property Must Be Unique " . __CLASS__;
477
+                $msg = "Property Names, and Navigation Property Must Be Unique ".__CLASS__;
478 478
                 return false;
479 479
             }
480 480
             $pArray[] = $prop->getName();
481 481
         }
482 482
         if (in_array($this->getName(), $pArray)) {
483
-            $msg = "entity types can not contain a property with the same name " . __CLASS__;
483
+            $msg = "entity types can not contain a property with the same name ".__CLASS__;
484 484
             return false;
485 485
         }
486 486
         return true;
Please login to merge, or discard this patch.