Completed
Pull Request — master (#351)
by Martin
01:58
created
src/Commands/MakePolicyCommand.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @return mixed
62
+     * @return string
63 63
      */
64 64
     protected function getTemplateContents()
65 65
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @return mixed
76
+     * @return string
77 77
      */
78 78
     protected function getDestinationFilePath()
79 79
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,8 +81,8 @@
 block discarded – undo
81 81
     /**
82 82
      * @return string
83 83
      */
84
-     public function getDefaultNamespace()
85
-     {
86
-         return $this->laravel['modules']->config('paths.generator.policies', 'Policies');
87
-     }
84
+        public function getDefaultNamespace()
85
+        {
86
+            return $this->laravel['modules']->config('paths.generator.policies', 'Policies');
87
+        }
88 88
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         $policyPath = $this->laravel['modules']->config('paths.generator.policies');
69 69
 
70
-        return $path . $policyPath . '/' . $this->getFileName() . '.php';
70
+        return $path.$policyPath.'/'.$this->getFileName().'.php';
71 71
     }
72 72
 
73 73
     /**
Please login to merge, or discard this patch.