@@ -50,7 +50,6 @@ |
||
| 50 | 50 | * Class CollectionInterface |
| 51 | 51 | * @package Platine\Collection |
| 52 | 52 | */ |
| 53 | -interface CollectionInterface |
|
| 54 | -{ |
|
| 53 | +interface CollectionInterface { |
|
| 55 | 54 | |
| 56 | 55 | } |
@@ -50,7 +50,6 @@ |
||
| 50 | 50 | * Class SortableInterface |
| 51 | 51 | * @package Platine\Collection |
| 52 | 52 | */ |
| 53 | -interface SortableInterface |
|
| 54 | -{ |
|
| 53 | +interface SortableInterface { |
|
| 55 | 54 | |
| 56 | 55 | } |
@@ -50,7 +50,6 @@ |
||
| 50 | 50 | * Class TypeCheck |
| 51 | 51 | * @package Platine\Collection |
| 52 | 52 | */ |
| 53 | -class TypeCheck |
|
| 54 | -{ |
|
| 53 | +class TypeCheck { |
|
| 55 | 54 | |
| 56 | 55 | } |
@@ -67,8 +67,7 @@ discard block |
||
| 67 | 67 | * Create new instance |
| 68 | 68 | * @param array<mixed, mixed> $data |
| 69 | 69 | */ |
| 70 | - public function __construct(array $data = []) |
|
| 71 | - { |
|
| 70 | + public function __construct(array $data = []) { |
|
| 72 | 71 | $this->data = $data; |
| 73 | 72 | } |
| 74 | 73 | |
@@ -113,8 +112,7 @@ discard block |
||
| 113 | 112 | /** |
| 114 | 113 | * {@inheritedoc} |
| 115 | 114 | */ |
| 116 | - public function offsetGet($offset) |
|
| 117 | - { |
|
| 115 | + public function offsetGet($offset) { |
|
| 118 | 116 | return isset($this->data[$offset]) |
| 119 | 117 | ? $this->data[$offset] |
| 120 | 118 | : null; |
@@ -50,8 +50,7 @@ |
||
| 50 | 50 | * Class Pair |
| 51 | 51 | * @package Platine\Collection\Map |
| 52 | 52 | */ |
| 53 | -class Pair |
|
| 54 | -{ |
|
| 53 | +class Pair { |
|
| 55 | 54 | |
| 56 | 55 | |
| 57 | 56 | } |
@@ -50,7 +50,6 @@ |
||
| 50 | 50 | * Class MapInterface |
| 51 | 51 | * @package Platine\Collection\Map |
| 52 | 52 | */ |
| 53 | -interface MapInterface |
|
| 54 | -{ |
|
| 53 | +interface MapInterface { |
|
| 55 | 54 | |
| 56 | 55 | } |
@@ -66,7 +66,6 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * {@inheritedoc} |
| 68 | 68 | */ |
| 69 | - public function jsonSerialize() |
|
| 70 | - { |
|
| 69 | + public function jsonSerialize() { |
|
| 71 | 70 | } |
| 72 | 71 | } |
@@ -50,7 +50,6 @@ |
||
| 50 | 50 | * Class MergeableInterface |
| 51 | 51 | * @package Platine\Collection |
| 52 | 52 | */ |
| 53 | -interface MergeableInterface |
|
| 54 | -{ |
|
| 53 | +interface MergeableInterface { |
|
| 55 | 54 | |
| 56 | 55 | } |
@@ -50,7 +50,6 @@ |
||
| 50 | 50 | * Class IterableInterface |
| 51 | 51 | * @package Platine\Collection |
| 52 | 52 | */ |
| 53 | -interface IterableInterface |
|
| 54 | -{ |
|
| 53 | +interface IterableInterface { |
|
| 55 | 54 | |
| 56 | 55 | } |