Completed
Pull Request — master (#1151)
by
unknown
02:23
created
src/Module.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     /**
246 246
      * Get a specific data from composer.json file by given the key.
247 247
      *
248
-     * @param $key
248
+     * @param string $key
249 249
      * @param null $default
250 250
      *
251 251
      * @return mixed
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
     /**
321 321
      * Determine whether the given status same with the current module status.
322 322
      *
323
-     * @param bool $status
323
+     * @param integer $status
324 324
      *
325 325
      * @return bool
326 326
      */
@@ -352,9 +352,9 @@  discard block
 block discarded – undo
352 352
     /**
353 353
      * Set active state for current module.
354 354
      *
355
-     * @param bool $active
355
+     * @param integer $active
356 356
      *
357
-     * @return void
357
+     * @return boolean
358 358
      */
359 359
     public function setActive(int $active): bool
360 360
     {
Please login to merge, or discard this patch.
src/Laravel/LaravelEloquentRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
      * Find a specific module.
140 140
      * @param $name
141
-     * @return \Nwidart\Modules\Contracts\ModuleInterface
141
+     * @return null|Module
142 142
      */
143 143
     public function find($name): ?\Nwidart\Modules\Contracts\ModuleInterface
144 144
     {
Please login to merge, or discard this patch.