Passed
Push — develop ( b732dc...a7a9ff )
by nguereza
12:25
created
src/IterableInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@
 block discarded – undo
50 50
  * @class IterableInterface
51 51
  * @package Platine\Collection
52 52
  */
53
-interface IterableInterface
54
-{
53
+interface IterableInterface {
55 54
     /**
56 55
      * Loop on each collection element with the given callback
57 56
      * @param callable $callback
Please login to merge, or discard this patch.
src/Collection.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
      * @param array<mixed, mixed> $data
68 68
      * @param string $type The type of this collection elements
69 69
      */
70
-    public function __construct(array $data = [], protected string $type = '')
71
-    {
70
+    public function __construct(array $data = [], protected string $type = '') {
72 71
         foreach ($data as $value) {
73 72
             $this->validateEntry($value);
74 73
         }
Please login to merge, or discard this patch.