@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * @param object $object The object whose class to add. |
| 60 | 60 | * @return Name The name with added class. |
| 61 | 61 | */ |
| 62 | - public function for(object $object): Name |
|
| 62 | + public function for (object $object): Name |
|
| 63 | 63 | { |
| 64 | 64 | return new Name( |
| 65 | 65 | $this->prefix, |
@@ -76,8 +76,8 @@ |
||
| 76 | 76 | add($this->paths, [sprintf( |
| 77 | 77 | '%s:%s', |
| 78 | 78 | isObject($value) ? classOf($value) : typeOf($value), |
| 79 | - $name |
|
| 80 | - )]) |
|
| 79 | + $name |
|
| 80 | + )]) |
|
| 81 | 81 | ); |
| 82 | 82 | } |
| 83 | 83 | } |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $properties = self::addTo($properties, $level, $reflection); |
| 43 | 43 | ++$level; |
| 44 | 44 | $reflection = $reflection->getParentClass(); |
| 45 | - } while($reflection); |
|
| 45 | + } while ($reflection); |
|
| 46 | 46 | ReflectionProperties::$cache[$theClass] = new self(...$properties); |
| 47 | 47 | } |
| 48 | 48 | return ReflectionProperties::$cache[$theClass]; |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | public function fromOnly(Map $map, object ...$objects): State |
| 64 | 64 | { |
| 65 | 65 | return StateRepresentation::with(EntityStates::list(...extractWith( |
| 66 | - function (object $entity) use ($map): RepresentsEntity { |
|
| 66 | + function(object $entity) use ($map): RepresentsEntity { |
|
| 67 | 67 | return $this->stateOfThe($entity, $map); |
| 68 | 68 | }, $objects |
| 69 | 69 | )), $map); |