Completed
Push — master ( eb7f3e...7140fe )
by Sherif
02:49
created
src/Modules/V1/Core/Http/Controllers/ApiDocumentController.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
 	public function index() 
10 10
 	{
11
-		$path       = str_replace($_SERVER['DOCUMENT_ROOT'], '',str_replace('\\', '/', __FILE__));
11
+		$path       = str_replace($_SERVER['DOCUMENT_ROOT'], '', str_replace('\\', '/', __FILE__));
12 12
 		$baseUrl    = str_replace('Http/Controllers/ApiDocumentController.php', '', $path);
13 13
 		$jsonDoc    = json_decode(file_get_contents(app_path('Modules/V1/Core/Resources/api.json')), true);
14 14
 		$modules    = $jsonDoc['modules'];
@@ -21,27 +21,27 @@  discard block
 block discarded – undo
21 21
 			],
22 22
 			[
23 23
 				'title'   => 'email equal [email protected] and user is blocked:',
24
-				'content' => ['and' => ['email' => '[email protected]','blocked' => 1]]
24
+				'content' => ['and' => ['email' => '[email protected]', 'blocked' => 1]]
25 25
 			],
26 26
 			[
27 27
 				'title'   => 'email equal [email protected] or user is blocked:',
28
-				'content' => ['or' => ['email' => '[email protected]','blocked' => 1]]
28
+				'content' => ['or' => ['email' => '[email protected]', 'blocked' => 1]]
29 29
 			],
30 30
 			[
31 31
 				'title'   => 'email contain John:',
32
-				'content' => ['email' => ['op' => 'like','val' => '%John%']]
32
+				'content' => ['email' => ['op' => 'like', 'val' => '%John%']]
33 33
 			],
34 34
 			[
35 35
 				'title'   => 'user created after 2016-10-25:',
36
-				'content' => ['created_at' => ['op' => '>','val' => '2016-10-25']]
36
+				'content' => ['created_at' => ['op' => '>', 'val' => '2016-10-25']]
37 37
 			],
38 38
 			[
39 39
 				'title'   => 'user created between 2016-10-20 and 2016-10-25:',
40
-				'content' => ['created_at' => ['op' => 'between','val1' => '2016-10-20','val2' => '2016-10-25']]
40
+				'content' => ['created_at' => ['op' => 'between', 'val1' => '2016-10-20', 'val2' => '2016-10-25']]
41 41
 			],
42 42
 			[
43 43
 				'title'   => 'user id in 1,2,3:',
44
-				'content' => ['id' => ['op' => 'in','val' => [1, 2, 3]]]
44
+				'content' => ['id' => ['op' => 'in', 'val' => [1, 2, 3]]]
45 45
 			],
46 46
 			[
47 47
 				'title'   => 'user name is null:',
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 			],
54 54
 			[
55 55
 				'title'   => 'user has group admin:',
56
-				'content' => ['groups' => ['op' => 'has','val' => ['name' => 'Admin']]]
56
+				'content' => ['groups' => ['op' => 'has', 'val' => ['name' => 'Admin']]]
57 57
 			]
58 58
 		];
59 59
 
Please login to merge, or discard this patch.