Passed
Push — develop ( e09916...2ad49a )
by nguereza
01:41
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/Map/Pair.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
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
      * @var mixed
@@ -69,8 +68,7 @@  discard block
 block discarded – undo
69 68
      * @param mixed $key
70 69
      * @param mixed $value
71 70
      */
72
-    public function __construct($key, $value)
73
-    {
71
+    public function __construct($key, $value) {
74 72
         $this->key = $key;
75 73
         $this->value = $value;
76 74
     }
@@ -79,8 +77,7 @@  discard block
 block discarded – undo
79 77
      *
80 78
      * @return mixed
81 79
      */
82
-    public function getKey()
83
-    {
80
+    public function getKey() {
84 81
         return $this->key;
85 82
     }
86 83
 
@@ -88,8 +85,7 @@  discard block
 block discarded – undo
88 85
      *
89 86
      * @return mixed
90 87
      */
91
-    public function getValue()
92
-    {
88
+    public function getValue() {
93 89
         return $this->value;
94 90
     }
95 91
 
Please login to merge, or discard this patch.
src/Map/MapInterface.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 MapInterface
51 51
  * @package Platine\Collection\Map
52 52
  */
53
-interface MapInterface
54
-{
53
+interface MapInterface {
55 54
     /**
56 55
      * Add element to the collection
57 56
      * @param mixed $key
Please login to merge, or discard this patch.
src/MergeableInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @package Platine\Collection
52 52
  * @template T
53 53
  */
54
-interface MergeableInterface
55
-{
54
+interface MergeableInterface {
56 55
     /**
57 56
      * Merge with the given collection
58 57
      * @param BaseCollection<T> $collection
Please login to merge, or discard this patch.
src/SortableInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @package Platine\Collection
52 52
  * @template T
53 53
  */
54
-interface SortableInterface
55
-{
54
+interface SortableInterface {
56 55
     /**
57 56
      * Sort the collection
58 57
      * @param callable $callback
Please login to merge, or discard this patch.
src/CollectionInterface.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 CollectionInterface
51 51
  * @package Platine\Collection
52 52
  */
53
-interface CollectionInterface
54
-{
53
+interface CollectionInterface {
55 54
     /**
56 55
      * Add element to the collection
57 56
      * @param mixed $value
Please login to merge, or discard this patch.