Completed
Push — master ( 671383...5c8721 )
by Antonio Carlos
04:32 queued 02:15
created
src/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function provides()
43 43
     {
44
-        return ['pragmarx.google2fa'];
44
+        return [ 'pragmarx.google2fa' ];
45 45
     }
46 46
 
47 47
     /**
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function register()
53 53
     {
54
-        $this->app->singleton('pragmarx.google2fa', function ($app) {
54
+        $this->app->singleton('pragmarx.google2fa', function($app) {
55 55
             return $app->make(Google2FA::class);
56 56
         });
57 57
 
Please login to merge, or discard this patch.
src/Support/Config.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,12 +7,12 @@
 block discarded – undo
7 7
     /**
8 8
      * Get a config value.
9 9
      *
10
-     * @param $string
10
+     * @param string $string
11 11
      * @param array $children
12 12
      *
13 13
      * @throws \Exception
14 14
      *
15
-     * @return mixed
15
+     * @return string|null
16 16
      */
17 17
     protected function config($string, $children = [])
18 18
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,14 +14,14 @@
 block discarded – undo
14 14
      *
15 15
      * @return mixed
16 16
      */
17
-    protected function config($string, $children = [])
17
+    protected function config($string, $children = [ ])
18 18
     {
19 19
         if (is_null(config(Constants::CONFIG_PACKAGE_NAME))) {
20 20
             throw new \Exception('Config not found');
21 21
         }
22 22
 
23 23
         return config(
24
-            implode('.', array_merge([Constants::CONFIG_PACKAGE_NAME, $string], (array) $children))
24
+            implode('.', array_merge([ Constants::CONFIG_PACKAGE_NAME, $string ], (array) $children))
25 25
         );
26 26
     }
27 27
 
Please login to merge, or discard this patch.
src/Support/Response.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * Make a JSON response.
14 14
      *
15
-     * @param $statusCode
15
+     * @param integer $statusCode
16 16
      *
17
-     * @return JsonResponse
17
+     * @return IlluminateJsonResponse
18 18
      */
19 19
     protected function makeJsonResponse($statusCode)
20 20
     {
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * Make a web response.
42 42
      *
43
-     * @param $statusCode
43
+     * @param integer $statusCode
44 44
      *
45 45
      * @return \Illuminate\Http\Response
46 46
      */
Please login to merge, or discard this patch.
src/Support/Session.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
      *
10 10
      * @param null $name
11 11
      *
12
-     * @return mixed
12
+     * @return string
13 13
      */
14 14
     protected function makeSessionVarName($name = null)
15 15
     {
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @param null $var
23 23
      *
24
-     * @return mixed
24
+     * @return null|\Carbon\Carbon
25 25
      */
26 26
     public function sessionGet($var = null)
27 27
     {
Please login to merge, or discard this patch.