Completed
Pull Request — master (#174)
by Christopher
02:57
created
POData/UriProcessor/ResourcePathProcessor/SegmentParser/KeyDescriptor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      * @param  KeyDescriptor|null $keyDescriptor
126 126
      * @return bool
127 127
      */
128
-    protected static function parseAndVerifyRawKeyPredicate($keyString, $isKey, KeyDescriptor &$keyDescriptor = null)
128
+    protected static function parseAndVerifyRawKeyPredicate($keyString, $isKey, KeyDescriptor & $keyDescriptor = null)
129 129
     {
130 130
         $result = self::tryParseKeysFromRawKeyPredicate(
131 131
             $keyString,
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      */
238 238
     public static function tryParseKeysFromKeyPredicate(
239 239
         $keyPredicate,
240
-        KeyDescriptor &$keyDescriptor = null
240
+        KeyDescriptor & $keyDescriptor = null
241 241
     ) {
242 242
         $isKey = true;
243 243
         $keyString = $keyPredicate;
@@ -567,7 +567,7 @@  discard block
 block discarded – undo
567 567
         $comma = null;
568 568
         foreach ($keys as $keyName => $resourceProperty) {
569 569
             if (!array_key_exists($keyName, $namedKeys)) {
570
-                $msg = 'Key predicate '.$keyName.' not present in named values';
570
+                $msg = 'Key predicate ' . $keyName . ' not present in named values';
571 571
                 throw new \InvalidArgumentException($msg);
572 572
             }
573 573
             $keyType = $resourceProperty->getInstanceType();
Please login to merge, or discard this patch.