Completed
Pull Request — master (#11)
by Marcin
06:05 queued 03:51
created
src/Console/Traits/ModuleCreator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
         return $this->option('group') ?: $this->laravel['modular.config']->stubsDefaultGroup();
86 86
     }
87 87
 
88
+    /**
89
+     * @return string
90
+     */
88 91
     protected function getFilesStubGroup()
89 92
     {
90 93
         return $this->option('group') ?: $this->laravel['modular.config']->filesStubsDefaultGroup();
Please login to merge, or discard this patch.
src/Services/Modular.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      *
102 102
      * @param string $type
103 103
      *
104
-     * @return array
104
+     * @return Collection
105 105
      */
106 106
     public function withRoutes($type)
107 107
     {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * Get all routable modules (active and having routes file)
113 113
      *
114
-     * @return array
114
+     * @return Collection
115 115
      */
116 116
     public function withFactories()
117 117
     {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * Get all modules that have service providers (active and having service
123 123
      * provider file)
124 124
      *
125
-     * @return array
125
+     * @return Collection
126 126
      */
127 127
     public function withServiceProviders()
128 128
     {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     /**
133 133
      * Get all modules that have seeders (active and having seeder file)
134 134
      *
135
-     * @return array
135
+     * @return Collection
136 136
      */
137 137
     public function withSeeders()
138 138
     {
Please login to merge, or discard this patch.
stubs/app/Core/AbstractRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
      *
114 114
      * @param array|int $ids
115 115
      *
116
-     * @return bool
116
+     * @return integer
117 117
      */
118 118
     public function destroy($ids)
119 119
     {
Please login to merge, or discard this patch.