Passed
Push — develop ( a7a9ff...49c7df )
by nguereza
23:51 queued 13:24
created
src/TypeCheck.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * @class TypeCheck
53 53
  * @package Platine\Collection
54 54
  */
55
-class TypeCheck
56
-{
55
+class TypeCheck {
57 56
     /**
58 57
      *
59 58
      * @param mixed $value1
Please login to merge, or discard this patch.
src/DataContainer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@
 block discarded – undo
63 63
      * Create new instance
64 64
      * @param array<int|string, T> $data
65 65
      */
66
-    public function __construct(protected array $data = [])
67
-    {
66
+    public function __construct(protected array $data = []) {
68 67
     }
69 68
 
70 69
     /**
Please login to merge, or discard this patch.
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.