Completed
Push — master ( fed21d...0c3b23 )
by Sherif
10:50
created
src/Modules/Core/Utl/ApiConsumer.php 2 patches
Doc Comments   -16 removed lines patch added patch discarded remove patch
@@ -28,10 +28,6 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @param  string $uri
32
-     * @param  array  $data
33
-     * @param  array  $headers
34
-     * @param  string $content
35 31
      * @return \Illuminate\Http\Response
36 32
      */
37 33
     public function get()
@@ -40,10 +36,6 @@  discard block
 block discarded – undo
40 36
     }
41 37
 
42 38
     /**
43
-     * @param  string $uri
44
-     * @param  array  $data
45
-     * @param  array  $headers
46
-     * @param  string $content
47 39
      * @return \Illuminate\Http\Response
48 40
      */
49 41
     public function post()
@@ -52,10 +44,6 @@  discard block
 block discarded – undo
52 44
     }
53 45
 
54 46
     /**
55
-     * @param  string $uri
56
-     * @param  array  $data
57
-     * @param  array  $headers
58
-     * @param  string $content
59 47
      * @return \Illuminate\Http\Response
60 48
      */
61 49
     public function put()
@@ -64,10 +52,6 @@  discard block
 block discarded – undo
64 52
     }
65 53
 
66 54
     /**
67
-     * @param  string $uri
68
-     * @param  array  $data
69
-     * @param  array  $headers
70
-     * @param  string $content
71 55
      * @return \Illuminate\Http\Response
72 56
      */
73 57
     public function delete()
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
         $server = [];
215 215
 
216 216
         foreach ($headers as $headerType => $headerValue) {
217
-            $headerType = 'HTTP_' . $headerType;
217
+            $headerType = 'HTTP_'.$headerType;
218 218
 
219 219
             $server[$headerType] = $headerValue;
220 220
         }
Please login to merge, or discard this patch.
src/Modules/Acl/Proxy/LoginProxy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
         $response = \ApiConsumer::post('/oauth/token', $data);
53 53
 
54
-        if (! $response->isSuccessful()) {
54
+        if ( ! $response->isSuccessful()) {
55 55
             if ($grantType == 'refresh_token') {
56 56
                 \ErrorHandler::invalidRefreshToken();
57 57
             }
Please login to merge, or discard this patch.
src/Modules/Core/Providers/ModuleServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,27 +28,27 @@
 block discarded – undo
28 28
     public function register()
29 29
     {
30 30
         //Bind Core Facade to the IoC Container
31
-        \App::bind('Core', function () {
31
+        \App::bind('Core', function() {
32 32
             return new \App\Modules\Core\Core;
33 33
         });
34 34
 
35 35
         //Bind ErrorHandler Facade to the IoC Container
36
-        \App::bind('ErrorHandler', function () {
36
+        \App::bind('ErrorHandler', function() {
37 37
             return new \App\Modules\Core\Utl\ErrorHandler;
38 38
         });
39 39
 
40 40
         //Bind CoreConfig Facade to the IoC Container
41
-        \App::bind('CoreConfig', function () {
41
+        \App::bind('CoreConfig', function() {
42 42
             return new \App\Modules\Core\Utl\CoreConfig;
43 43
         });
44 44
 
45 45
         //Bind Mpgs Facade to the IoC Container
46
-        \App::bind('Media', function () {
46
+        \App::bind('Media', function() {
47 47
             return new \App\Modules\Core\Utl\Media;
48 48
         });
49 49
 
50 50
         //Bind Mpgs Facade to the IoC Container
51
-        \App::bind('ApiConsumer', function () {
51
+        \App::bind('ApiConsumer', function() {
52 52
             return new \App\Modules\Core\Utl\ApiConsumer;
53 53
         });
54 54
         
Please login to merge, or discard this patch.