Passed
Push — master ( f0f713...efe879 )
by IRFA
02:05 queued 12s
created
example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 require_once "vendor/autoload.php";
3 3
 
4
-use  Irfa\Gatcha\Roll ;
4
+use  Irfa\Gatcha\Roll;
5 5
 
6 6
 ?>
7 7
 <!DOCTYPE html>
Please login to merge, or discard this patch.
src/Roulete/Roulete.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 		} else {
30 30
 				throw new Exception('Parameter must be an array.');
31 31
 
32
-	            return false;
32
+				return false;
33 33
 		}
34 34
 	}
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class Roulete {
10 10
 
11 11
 	protected function get($items) {
12
-		if(is_array($items))
12
+		if (is_array($items))
13 13
 		{
14 14
 			$max = 0;
15 15
 			foreach ($items as $key => $value) {
Please login to merge, or discard this patch.
src/Roll.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@
 block discarded – undo
22 22
 	{
23 23
 		return self::getItem();
24 24
 	}
25
-	private static function getItem(){
26
-		$ret =  Roulete::get(self::$items);
27
-		self::$items=null;
25
+	private static function getItem() {
26
+		$ret = Roulete::get(self::$items);
27
+		self::$items = null;
28 28
 		return $ret;
29 29
 	}
30 30
 }
31 31
\ No newline at end of file
Please login to merge, or discard this patch.