Completed
Push — master ( 51e589...982789 )
by Lars
17:41 queued 16:08
created
src/StaticArrayy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         }
43 43
 
44 44
         if (!isset(static::$methodArgs[$name])) {
45
-            throw new \BadMethodCallException($name . ' is not a valid method');
45
+            throw new \BadMethodCallException($name.' is not a valid method');
46 46
         }
47 47
 
48 48
         $numArgs = \count($arguments);
Please login to merge, or discard this patch.
src/TypeCheck/TypeCheckPhpDoc.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,9 +90,9 @@  discard block
 block discarded – undo
90 90
         }
91 91
 
92 92
         if ($type instanceof \phpDocumentor\Reflection\Types\Array_) {
93
-            $valueTypeTmp = $type->getValueType() . '';
93
+            $valueTypeTmp = $type->getValueType().'';
94 94
             if ($valueTypeTmp !== 'mixed') {
95
-                return $valueTypeTmp . '[]';
95
+                return $valueTypeTmp.'[]';
96 96
             }
97 97
 
98 98
             return 'array';
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
             return 'resource';
139 139
         }
140 140
 
141
-        return $type . '';
141
+        return $type.'';
142 142
     }
143 143
 
144 144
     /**
@@ -150,6 +150,6 @@  discard block
 block discarded – undo
150 150
      */
151 151
     public function throwException($expectedTypes, $value, $type): \Throwable
152 152
     {
153
-        throw new \TypeError("Invalid type: expected \"{$this->property_name}\" to be of type {{$expectedTypes}}, instead got value \"" . $this->valueToString($value) . '" (' . \print_r($value, true) . ") with type {{$type}}.");
153
+        throw new \TypeError("Invalid type: expected \"{$this->property_name}\" to be of type {{$expectedTypes}}, instead got value \"".$this->valueToString($value).'" ('.\print_r($value, true).") with type {{$type}}.");
154 154
     }
155 155
 }
Please login to merge, or discard this patch.
src/TypeCheck/AbstractTypeCheck.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,11 +111,11 @@
 block discarded – undo
111 111
 
112 112
         // resource
113 113
         if (\is_resource($value)) {
114
-            return \get_resource_type($value) . ' resource #' . (int) $value;
114
+            return \get_resource_type($value).' resource #'.(int) $value;
115 115
         }
116 116
 
117 117
         if (\is_object($value)) {
118
-            return \get_class($value) . ' Object';
118
+            return \get_class($value).' Object';
119 119
         }
120 120
 
121 121
         return '';
Please login to merge, or discard this patch.
src/TypeCheck/TypeCheckSimple.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function throwException($expectedTypes, $value, $type): \Throwable
28 28
     {
29
-        throw new \TypeError("Invalid type: expected to be of type {{$expectedTypes}}, instead got value `" . \print_r($value, true) . "` with type {{$type}}.");
29
+        throw new \TypeError("Invalid type: expected to be of type {{$expectedTypes}}, instead got value `".\print_r($value, true)."` with type {{$type}}.");
30 30
     }
31 31
 
32 32
     /**
Please login to merge, or discard this patch.
src/Collection/CollectionInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -50,6 +50,7 @@
 block discarded – undo
50 50
      * Merge current items and items of given collections into a new one.
51 51
      *
52 52
      * @param CollectionInterface ...$collections The collections to merge.
53
+     * @param CollectionInterface[] $collections
53 54
      *
54 55
      * @throws \InvalidArgumentException if any of the given collections are not of the same type
55 56
      *
Please login to merge, or discard this patch.
src/Create.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
             /**
30 30
              * @param array<mixed> $array
31 31
              *
32
-             * @return int|string|null
32
+             * @return integer|null
33 33
              */
34 34
             function array_key_first(array $array)
35 35
             {
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
             /**
46 46
              * @param array<mixed> $array
47 47
              *
48
-             * @return int|string|null
48
+             * @return null|integer
49 49
              */
50 50
             function array_key_last(array $array)
51 51
             {
Please login to merge, or discard this patch.
src/Arrayy.php 3 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1565,7 +1565,7 @@  discard block
 block discarded – undo
1565 1565
      *
1566 1566
      * @param float|int|string $low  <p>First value of the sequence.</p>
1567 1567
      * @param float|int|string $high <p>The sequence is ended upon reaching the end value.</p>
1568
-     * @param float|int        $step <p>Used as the increment between elements in the sequence.</p>
1568
+     * @param integer        $step <p>Used as the increment between elements in the sequence.</p>
1569 1569
      *
1570 1570
      * @return static
1571 1571
      *                <p>(Immutable) Returns an new instance of the Arrayy object.</p>
@@ -2162,7 +2162,7 @@  discard block
 block discarded – undo
2162 2162
     /**
2163 2163
      * Get the first key from the current array.
2164 2164
      *
2165
-     * @return mixed
2165
+     * @return integer|null
2166 2166
      *               <p>Return null if there wasn't a element.</p>
2167 2167
      * @psalm-mutation-free
2168 2168
      */
@@ -3230,7 +3230,7 @@  discard block
 block discarded – undo
3230 3230
     /**
3231 3231
      * Get the last key from the current array.
3232 3232
      *
3233
-     * @return mixed|null
3233
+     * @return null|integer
3234 3234
      *                    <p>Return null if there wasn't a element.</p>
3235 3235
      * @psalm-mutation-free
3236 3236
      */
@@ -3622,7 +3622,7 @@  discard block
 block discarded – undo
3622 3622
     /**
3623 3623
      * Get the most used value from the array.
3624 3624
      *
3625
-     * @return mixed|null
3625
+     * @return integer|null
3626 3626
      *                    <p>(Immutable) Return null if there wasn't a element.</p>
3627 3627
      * @psalm-mutation-free
3628 3628
      */
@@ -5874,7 +5874,7 @@  discard block
 block discarded – undo
5874 5874
     }
5875 5875
 
5876 5876
     /**
5877
-     * @param mixed      $path
5877
+     * @param string      $path
5878 5878
      * @param callable   $callable
5879 5879
      * @param array|null $currentOffset
5880 5880
      *
@@ -6065,7 +6065,7 @@  discard block
 block discarded – undo
6065 6065
     }
6066 6066
 
6067 6067
     /**
6068
-     * @param mixed $glue
6068
+     * @param string $glue
6069 6069
      * @param mixed $pieces
6070 6070
      * @param bool  $useKeys
6071 6071
      *
Please login to merge, or discard this patch.
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1267,11 +1267,11 @@  discard block
 block discarded – undo
1267 1267
             \array_intersect($needles, $this->keys()->toArray()),
1268 1268
             \COUNT_NORMAL
1269 1269
         )
1270
-               ===
1271
-               \count(
1272
-                   $needles,
1273
-                   \COUNT_NORMAL
1274
-               );
1270
+                ===
1271
+                \count(
1272
+                    $needles,
1273
+                    \COUNT_NORMAL
1274
+                );
1275 1275
     }
1276 1276
 
1277 1277
     /**
@@ -1334,8 +1334,8 @@  discard block
 block discarded – undo
1334 1334
     public function containsValues(array $needles): bool
1335 1335
     {
1336 1336
         return \count(\array_intersect($needles, $this->toArray()), \COUNT_NORMAL)
1337
-               ===
1338
-               \count($needles, \COUNT_NORMAL);
1337
+                ===
1338
+                \count($needles, \COUNT_NORMAL);
1339 1339
     }
1340 1340
 
1341 1341
     /**
@@ -3024,15 +3024,15 @@  discard block
 block discarded – undo
3024 3024
 
3025 3025
         if ($recursive === true) {
3026 3026
             return $this->array_keys_recursive($this->toArray())
3027
-                   ===
3028
-                   \range(0, \count($this->toArray(), \COUNT_RECURSIVE) - 1);
3027
+                    ===
3028
+                    \range(0, \count($this->toArray(), \COUNT_RECURSIVE) - 1);
3029 3029
         }
3030 3030
 
3031 3031
         // non recursive
3032 3032
 
3033 3033
         return \array_keys($this->toArray())
3034
-               ===
3035
-               \range(0, \count($this->toArray(), \COUNT_NORMAL) - 1);
3034
+                ===
3035
+                \range(0, \count($this->toArray(), \COUNT_NORMAL) - 1);
3036 3036
     }
3037 3037
 
3038 3038
     /**
Please login to merge, or discard this patch.
Spacing   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -638,7 +638,7 @@  discard block
 block discarded – undo
638 638
                  */
639 639
                 $this->callAtPath(
640 640
                     $containerPath,
641
-                    static function ($container) use ($lastOffset, &$offsetExists) {
641
+                    static function($container) use ($lastOffset, &$offsetExists) {
642 642
                         $offsetExists = \array_key_exists($lastOffset, $container);
643 643
                     }
644 644
                 );
@@ -734,7 +734,7 @@  discard block
 block discarded – undo
734 734
                  */
735 735
                 $this->callAtPath(
736 736
                     \implode($this->pathSeparator, $path),
737
-                    static function (&$offset) use ($pathToUnset) {
737
+                    static function(&$offset) use ($pathToUnset) {
738 738
                         if (\is_array($offset)) {
739 739
                             unset($offset[$pathToUnset]);
740 740
                         } else {
@@ -784,7 +784,7 @@  discard block
 block discarded – undo
784 784
         }
785 785
 
786 786
         if (\strpos($iteratorClass, '\\') === 0) {
787
-            $iteratorClass = '\\' . $iteratorClass;
787
+            $iteratorClass = '\\'.$iteratorClass;
788 788
             if (\class_exists($iteratorClass)) {
789 789
                 /**
790 790
                  * @psalm-suppress PropertyTypeCoercion
@@ -795,7 +795,7 @@  discard block
 block discarded – undo
795 795
             }
796 796
         }
797 797
 
798
-        throw new \InvalidArgumentException('The iterator class does not exist: ' . $iteratorClass);
798
+        throw new \InvalidArgumentException('The iterator class does not exist: '.$iteratorClass);
799 799
     }
800 800
 
801 801
     /**
@@ -961,13 +961,13 @@  discard block
 block discarded – undo
961 961
 
962 962
         foreach ($this->getGenerator() as $key => $item) {
963 963
             if ($item instanceof self) {
964
-                $result[$prefix . $key] = $item->appendToEachKey($prefix);
964
+                $result[$prefix.$key] = $item->appendToEachKey($prefix);
965 965
             } elseif (\is_array($item) === true) {
966
-                $result[$prefix . $key] = self::create($item, $this->iteratorClass, false)
966
+                $result[$prefix.$key] = self::create($item, $this->iteratorClass, false)
967 967
                     ->appendToEachKey($prefix)
968 968
                     ->toArray();
969 969
             } else {
970
-                $result[$prefix . $key] = $item;
970
+                $result[$prefix.$key] = $item;
971 971
             }
972 972
         }
973 973
 
@@ -998,7 +998,7 @@  discard block
 block discarded – undo
998 998
             } elseif (\is_object($item) === true) {
999 999
                 $result[$key] = $item;
1000 1000
             } else {
1001
-                $result[$key] = $prefix . $item;
1001
+                $result[$key] = $prefix.$item;
1002 1002
             }
1003 1003
         }
1004 1004
 
@@ -1186,7 +1186,7 @@  discard block
 block discarded – undo
1186 1186
     public function clean(): self
1187 1187
     {
1188 1188
         return $this->filter(
1189
-            static function ($value) {
1189
+            static function($value) {
1190 1190
                 return (bool) $value;
1191 1191
             }
1192 1192
         );
@@ -1481,9 +1481,9 @@  discard block
 block discarded – undo
1481 1481
 
1482 1482
         foreach ($items as $key => $value) {
1483 1483
             if (\is_array($value) && !empty($value)) {
1484
-                $flatten[] = $this->flatten($delimiter, $prepend . $key . $delimiter, $value);
1484
+                $flatten[] = $this->flatten($delimiter, $prepend.$key.$delimiter, $value);
1485 1485
             } else {
1486
-                $flatten[] = [$prepend . $key => $value];
1486
+                $flatten[] = [$prepend.$key => $value];
1487 1487
             }
1488 1488
         }
1489 1489
 
@@ -1661,7 +1661,7 @@  discard block
 block discarded – undo
1661 1661
          */
1662 1662
         \array_walk(
1663 1663
             $array,
1664
-            static function (&$val) {
1664
+            static function(&$val) {
1665 1665
                 if ((string) $val === $val) {
1666 1666
                     $val = \trim($val);
1667 1667
                 }
@@ -2173,40 +2173,40 @@  discard block
 block discarded – undo
2173 2173
         }
2174 2174
 
2175 2175
         $ops = [
2176
-            'eq' => static function ($item, $prop, $value): bool {
2176
+            'eq' => static function($item, $prop, $value): bool {
2177 2177
                 return $item[$prop] === $value;
2178 2178
             },
2179
-            'gt' => static function ($item, $prop, $value): bool {
2179
+            'gt' => static function($item, $prop, $value): bool {
2180 2180
                 return $item[$prop] > $value;
2181 2181
             },
2182
-            'ge' => static function ($item, $prop, $value): bool {
2182
+            'ge' => static function($item, $prop, $value): bool {
2183 2183
                 return $item[$prop] >= $value;
2184 2184
             },
2185
-            'gte' => static function ($item, $prop, $value): bool {
2185
+            'gte' => static function($item, $prop, $value): bool {
2186 2186
                 return $item[$prop] >= $value;
2187 2187
             },
2188
-            'lt' => static function ($item, $prop, $value): bool {
2188
+            'lt' => static function($item, $prop, $value): bool {
2189 2189
                 return $item[$prop] < $value;
2190 2190
             },
2191
-            'le' => static function ($item, $prop, $value): bool {
2191
+            'le' => static function($item, $prop, $value): bool {
2192 2192
                 return $item[$prop] <= $value;
2193 2193
             },
2194
-            'lte' => static function ($item, $prop, $value): bool {
2194
+            'lte' => static function($item, $prop, $value): bool {
2195 2195
                 return $item[$prop] <= $value;
2196 2196
             },
2197
-            'ne' => static function ($item, $prop, $value): bool {
2197
+            'ne' => static function($item, $prop, $value): bool {
2198 2198
                 return $item[$prop] !== $value;
2199 2199
             },
2200
-            'contains' => static function ($item, $prop, $value): bool {
2200
+            'contains' => static function($item, $prop, $value): bool {
2201 2201
                 return \in_array($item[$prop], (array) $value, true);
2202 2202
             },
2203
-            'notContains' => static function ($item, $prop, $value): bool {
2203
+            'notContains' => static function($item, $prop, $value): bool {
2204 2204
                 return !\in_array($item[$prop], (array) $value, true);
2205 2205
             },
2206
-            'newer' => static function ($item, $prop, $value): bool {
2206
+            'newer' => static function($item, $prop, $value): bool {
2207 2207
                 return \strtotime($item[$prop]) > \strtotime($value);
2208 2208
             },
2209
-            'older' => static function ($item, $prop, $value): bool {
2209
+            'older' => static function($item, $prop, $value): bool {
2210 2210
                 return \strtotime($item[$prop]) < \strtotime($value);
2211 2211
             },
2212 2212
         ];
@@ -2214,7 +2214,7 @@  discard block
 block discarded – undo
2214 2214
         $result = \array_values(
2215 2215
             \array_filter(
2216 2216
                 $this->toArray(false, true),
2217
-                static function ($item) use (
2217
+                static function($item) use (
2218 2218
                     $property,
2219 2219
                     $value,
2220 2220
                     $ops,
@@ -2996,7 +2996,7 @@  discard block
 block discarded – undo
2996 2996
                 \array_uintersect(
2997 2997
                     $this->toArray(),
2998 2998
                     $search,
2999
-                    static function ($a, $b) {
2999
+                    static function($a, $b) {
3000 3000
                         return $a === $b ? 0 : -1;
3001 3001
                     }
3002 3002
                 ),
@@ -3291,13 +3291,13 @@  discard block
 block discarded – undo
3291 3291
         // non recursive
3292 3292
 
3293 3293
         if ($search_values === null) {
3294
-            $arrayFunction = function (): \Generator {
3294
+            $arrayFunction = function(): \Generator {
3295 3295
                 foreach ($this->getGenerator() as $key => $value) {
3296 3296
                     yield $key;
3297 3297
                 }
3298 3298
             };
3299 3299
         } else {
3300
-            $arrayFunction = function () use ($search_values, $strict): \Generator {
3300
+            $arrayFunction = function() use ($search_values, $strict): \Generator {
3301 3301
                 $is_array_tmp = \is_array($search_values);
3302 3302
 
3303 3303
                 foreach ($this->getGeneratorByReference() as $key => &$value) {
@@ -3543,7 +3543,7 @@  discard block
 block discarded – undo
3543 3543
         $useArguments = \func_num_args() > 2;
3544 3544
 
3545 3545
         return static::create(
3546
-            function () use ($useArguments, $callable, $useKeyAsSecondParameter, $arguments) {
3546
+            function() use ($useArguments, $callable, $useKeyAsSecondParameter, $arguments) {
3547 3547
                 foreach ($this->getGenerator() as $key => $value) {
3548 3548
                     if ($useArguments) {
3549 3549
                         if ($useKeyAsSecondParameter) {
@@ -3963,7 +3963,7 @@  discard block
 block discarded – undo
3963 3963
      */
3964 3964
     public function nth(int $step, int $offset = 0): self
3965 3965
     {
3966
-        $arrayFunction = function () use ($step, $offset): \Generator {
3966
+        $arrayFunction = function() use ($step, $offset): \Generator {
3967 3967
             $position = 0;
3968 3968
             foreach ($this->getGenerator() as $key => $value) {
3969 3969
                 if ($position++ % $step !== $offset) {
@@ -4123,7 +4123,7 @@  discard block
 block discarded – undo
4123 4123
                 )->prependToEachKey($suffix)
4124 4124
                     ->toArray();
4125 4125
             } else {
4126
-                $result[$key . $suffix] = $item;
4126
+                $result[$key.$suffix] = $item;
4127 4127
             }
4128 4128
         }
4129 4129
 
@@ -4163,7 +4163,7 @@  discard block
 block discarded – undo
4163 4163
             } elseif (\is_object($item) === true) {
4164 4164
                 $result[$key] = $item;
4165 4165
             } else {
4166
-                $result[$key] = $item . $suffix;
4166
+                $result[$key] = $item.$suffix;
4167 4167
             }
4168 4168
         }
4169 4169
 
@@ -4855,7 +4855,7 @@  discard block
 block discarded – undo
4855 4855
          * @psalm-suppress MissingClosureParamType
4856 4856
          */
4857 4857
         return $this->each(
4858
-            static function ($value) use ($search, $replacement) {
4858
+            static function($value) use ($search, $replacement) {
4859 4859
                 return \str_replace($search, $replacement, $value);
4860 4860
             }
4861 4861
         );
@@ -5481,7 +5481,7 @@  discard block
 block discarded – undo
5481 5481
              * @psalm-suppress MissingClosureParamType
5482 5482
              */
5483 5483
             $results = $arrayy->each(
5484
-                function ($value) use ($sorter) {
5484
+                function($value) use ($sorter) {
5485 5485
                     if (\is_callable($sorter) === true) {
5486 5486
                         return $sorter($value);
5487 5487
                     }
@@ -5579,7 +5579,7 @@  discard block
 block discarded – undo
5579 5579
     public function stripEmpty(): self
5580 5580
     {
5581 5581
         return $this->filter(
5582
-            static function ($item) {
5582
+            static function($item) {
5583 5583
                 if ($item === null) {
5584 5584
                     return false;
5585 5585
                 }
@@ -5768,7 +5768,7 @@  discard block
 block discarded – undo
5768 5768
          * @psalm-suppress MissingClosureParamType
5769 5769
          */
5770 5770
         $this->array = $this->reduce(
5771
-            static function ($resultArray, $value) {
5771
+            static function($resultArray, $value) {
5772 5772
                 if (!\in_array($value, $resultArray, true)) {
5773 5773
                     $resultArray[] = $value;
5774 5774
                 }
@@ -5803,7 +5803,7 @@  discard block
 block discarded – undo
5803 5803
          */
5804 5804
         $this->array = \array_reduce(
5805 5805
             \array_keys($array),
5806
-            static function ($resultArray, $key) use ($array) {
5806
+            static function($resultArray, $key) use ($array) {
5807 5807
                 if (!\in_array($array[$key], $resultArray, true)) {
5808 5808
                     $resultArray[$key] = $array[$key];
5809 5809
                 }
@@ -5883,7 +5883,7 @@  discard block
 block discarded – undo
5883 5883
     public function values(): self
5884 5884
     {
5885 5885
         return static::create(
5886
-            function () {
5886
+            function() {
5887 5887
                 /** @noinspection YieldFromCanBeUsedInspection */
5888 5888
                 foreach ($this->getGenerator() as $value) {
5889 5889
                     yield $value;
@@ -5936,7 +5936,7 @@  discard block
 block discarded – undo
5936 5936
     public function where(string $keyOrPropertyOrMethod, $value): self
5937 5937
     {
5938 5938
         return $this->filter(
5939
-            function ($item) use ($keyOrPropertyOrMethod, $value) {
5939
+            function($item) use ($keyOrPropertyOrMethod, $value) {
5940 5940
                 $accessorValue = $this->extractValue(
5941 5941
                     $item,
5942 5942
                     $keyOrPropertyOrMethod
@@ -6226,7 +6226,7 @@  discard block
 block discarded – undo
6226 6226
     protected function getPropertiesFromPhpDoc()
6227 6227
     {
6228 6228
         static $PROPERTY_CACHE = [];
6229
-        $cacheKey = 'Class::' . static::class;
6229
+        $cacheKey = 'Class::'.static::class;
6230 6230
 
6231 6231
         if (isset($PROPERTY_CACHE[$cacheKey])) {
6232 6232
             return $PROPERTY_CACHE[$cacheKey];
@@ -6508,7 +6508,7 @@  discard block
 block discarded – undo
6508 6508
         if ($array === null) {
6509 6509
             $array = [];
6510 6510
         } elseif (!\is_array($array)) {
6511
-            throw new \RuntimeException('Can not set value at this path "' . $key . '" because (' . \gettype($array) . ')"' . \print_r($array, true) . '" is not an array.');
6511
+            throw new \RuntimeException('Can not set value at this path "'.$key.'" because ('.\gettype($array).')"'.\print_r($array, true).'" is not an array.');
6512 6512
         }
6513 6513
 
6514 6514
         $array[$key] = $value;
@@ -6580,7 +6580,7 @@  discard block
 block discarded – undo
6580 6580
                 &&
6581 6581
                 \count(\array_diff_key($properties, $data)) > 0
6582 6582
             ) {
6583
-                throw new \TypeError('Property mismatch - input: ' . \print_r(\array_keys($data), true) . ' | expected: ' . \print_r(\array_keys($properties), true));
6583
+                throw new \TypeError('Property mismatch - input: '.\print_r(\array_keys($data), true).' | expected: '.\print_r(\array_keys($properties), true));
6584 6584
             }
6585 6585
 
6586 6586
             foreach ($data as $key => &$valueInner) {
@@ -6693,7 +6693,7 @@  discard block
 block discarded – undo
6693 6693
              *
6694 6694
              * @return void
6695 6695
              */
6696
-            static function (&$item) {
6696
+            static function(&$item) {
6697 6697
                 if ($item instanceof self) {
6698 6698
                     $item = $item->getArray();
6699 6699
                 }
@@ -6718,7 +6718,7 @@  discard block
 block discarded – undo
6718 6718
             &&
6719 6719
             $this->checkPropertiesMismatch === true
6720 6720
         ) {
6721
-            throw new \TypeError('The key ' . $key . ' does not exists in "properties". Maybe because @property was not used for the class (' . \get_class($this) . ').');
6721
+            throw new \TypeError('The key '.$key.' does not exists in "properties". Maybe because @property was not used for the class ('.\get_class($this).').');
6722 6722
         }
6723 6723
 
6724 6724
         if (isset($this->properties[self::ARRAYY_HELPER_TYPES_FOR_ALL_PROPERTIES])) {
Please login to merge, or discard this patch.