@@ -66,7 +66,7 @@ |
||
66 | 66 | */ |
67 | 67 | public function getIterator(): \Traversable |
68 | 68 | { |
69 | - return (function () { |
|
69 | + return (function() { |
|
70 | 70 | foreach ($this->items as $item) { |
71 | 71 | yield $item; |
72 | 72 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | */ |
64 | 64 | public function getIterator(): \Traversable |
65 | 65 | { |
66 | - return (function () { |
|
66 | + return (function() { |
|
67 | 67 | foreach ($this->attributesMetadata() as $attributeName => $meta) { |
68 | 68 | yield $attributeName => $this->offsetGet($attributeName); |
69 | 69 | } |
@@ -103,6 +103,6 @@ discard block |
||
103 | 103 | |
104 | 104 | $actionName = $meta['actionName']; |
105 | 105 | |
106 | - return $this->{$method.$actionName}($value); |
|
106 | + return $this->{$method . $actionName}($value); |
|
107 | 107 | } |
108 | 108 | } |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | $this->createPath($path); |
43 | 43 | |
44 | - file_put_contents($path.\DIRECTORY_SEPARATOR.$file, $renderedClassData); |
|
44 | + file_put_contents($path . \DIRECTORY_SEPARATOR . $file, $renderedClassData); |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -59,11 +59,11 @@ discard block |
||
59 | 59 | $path = rtrim($this->classFilePath, '\\'); |
60 | 60 | if (1 !== \count($classExploded)) { |
61 | 61 | $file = array_pop($explodedFile); |
62 | - $path = $path.'\\'.implode(\DIRECTORY_SEPARATOR, $explodedFile); |
|
62 | + $path = $path . '\\' . implode(\DIRECTORY_SEPARATOR, $explodedFile); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | return [ |
66 | - 'file' => $file.'.php', |
|
66 | + 'file' => $file . '.php', |
|
67 | 67 | 'path' => str_replace('\\', '/', $path), |
68 | 68 | ]; |
69 | 69 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | 'V1_MAC', 'V2_DCE', 'V3_MD5', 'V4_RANDOM', 'V5_SHA1', 'V6_SORTABLE', 'V7_MONOTONIC', |
28 | 28 | ]; |
29 | 29 | |
30 | - return array_filter(array_map(function (string $constName) { |
|
30 | + return array_filter(array_map(function(string $constName) { |
|
31 | 31 | $cName = sprintf('%s::%s', Uuid::class, $constName); |
32 | 32 | |
33 | 33 | return \defined($cName) ? \constant($cName) : null; |