Passed
Push — development ( 91cbfb...a0df82 )
by Dylan David
02:26
created
Ptypes/Queue.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	 */
43 43
 	public function dequeue()
44 44
 	{
45
-		if($this->list->size() == 0) {return $this;}
45
+		if ($this->list->size() == 0) {return $this; }
46 46
 		$this->list->remove($this->list->lastNode);
47 47
 		return $this; //allows chaining
48 48
 	}
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,9 @@
 block discarded – undo
42 42
 	 */
43 43
 	public function dequeue()
44 44
 	{
45
-		if($this->list->size() == 0) {return $this;}
45
+		if($this->list->size() == 0)
46
+		{
47
+return $this;}
46 48
 		$this->list->remove($this->list->lastNode);
47 49
 		return $this; //allows chaining
48 50
 	}
Please login to merge, or discard this patch.