We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -8,8 +8,8 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace App\Classes; |
| 10 | 10 | |
| 11 | -use Mail; |
|
| 12 | 11 | use App\Model\Account; |
| 12 | +use Mail; |
|
| 13 | 13 | |
| 14 | 14 | class Email |
| 15 | 15 | { |
@@ -8,9 +8,9 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace App\Classes\Library\PageLoading; |
| 10 | 10 | |
| 11 | +use App\Http\Controllers\ErrorController; |
|
| 11 | 12 | use App\Model\Page; |
| 12 | 13 | use Illuminate\Support\Collection; |
| 13 | -use App\Http\Controllers\ErrorController; |
|
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | 16 | * Class FrontPage. |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * We may in future want to parse something so we have this on its |
| 66 | 66 | * own method. |
| 67 | 67 | * |
| 68 | - * @return mixed |
|
| 68 | + * @return string |
|
| 69 | 69 | */ |
| 70 | 70 | public function content() |
| 71 | 71 | { |
@@ -8,10 +8,9 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace App\Classes\Library\PageLoading; |
| 10 | 10 | |
| 11 | -use App\Model\Menu; |
|
| 12 | -use App\Model\Page; |
|
| 13 | 11 | use App\Classes\Breadcrumbs; |
| 14 | 12 | use App\Classes\Repositories\MenuRepository; |
| 13 | +use App\Model\Page; |
|
| 15 | 14 | |
| 16 | 15 | /** |
| 17 | 16 | * Class DataBuilder. |
@@ -56,7 +56,6 @@ |
||
| 56 | 56 | * Array for return data to be used by front end. |
| 57 | 57 | * |
| 58 | 58 | * @param Menu $menu |
| 59 | - * @param bool $boolean |
|
| 60 | 59 | * @return array |
| 61 | 60 | */ |
| 62 | 61 | public function collect(Menu $menu, $status = false) |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | namespace App\Classes\Library\PageLoading; |
| 10 | 10 | |
| 11 | 11 | use App\Model\Menu; |
| 12 | -use App\Model\Page; |
|
| 13 | 12 | use Illuminate\Support\Collection; |
| 14 | 13 | |
| 15 | 14 | class FrontPageMenu |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | * |
| 45 | 45 | * This should be the only method used for returning views. (not errors) |
| 46 | 46 | * |
| 47 | - * @param null $blade_template |
|
| 47 | + * @param string $blade_template |
|
| 48 | 48 | * @return mixed |
| 49 | 49 | */ |
| 50 | 50 | public function normal(Page $page, Collection $data, $blade_template = null) |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * |
| 74 | 74 | * This should be the only method used for returning errors! |
| 75 | 75 | * @param Collection $data |
| 76 | - * @param $template |
|
| 76 | + * @param string $template |
|
| 77 | 77 | * @param int $response |
| 78 | 78 | * @return \Illuminate\Http\Response|\Symfony\Component\HttpFoundation\Response |
| 79 | 79 | * @throws \Exception |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | * Check the status of a loaded plugin. |
| 135 | 135 | * |
| 136 | 136 | * @param array $plugin |
| 137 | - * @param $status |
|
| 137 | + * @param boolean $status |
|
| 138 | 138 | * @return bool |
| 139 | 139 | */ |
| 140 | 140 | private function checkStatus($plugin, $status) |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | namespace App\Classes\Repositories; |
| 10 | 10 | |
| 11 | 11 | use App\Model\Page; |
| 12 | -use Illuminate\Support\Collection; |
|
| 13 | 12 | use Illuminate\Database\Eloquent\Builder; |
| 13 | +use Illuminate\Support\Collection; |
|
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | 16 | * Class PageRepository. |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @return mixed |
|
| 43 | + * @return Collection |
|
| 44 | 44 | */ |
| 45 | 45 | public function allWhereActive() : Collection |
| 46 | 46 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @return mixed |
|
| 51 | + * @return Collection |
|
| 52 | 52 | */ |
| 53 | 53 | public function allWhereViewable() : Collection |
| 54 | 54 | { |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * @return mixed |
|
| 59 | + * @return Collection |
|
| 60 | 60 | */ |
| 61 | 61 | public function allWhereDisabled() : Collection |
| 62 | 62 | { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | * Return the model based on the input name. |
| 68 | 68 | * |
| 69 | 69 | * @param $plugin_name |
| 70 | - * @return Plugin|array|\stdClass |
|
| 70 | + * @return Plugin |
|
| 71 | 71 | */ |
| 72 | 72 | public function whereName($plugin_name) |
| 73 | 73 | { |
@@ -9,9 +9,8 @@ |
||
| 9 | 9 | namespace App\Classes\Repositories; |
| 10 | 10 | |
| 11 | 11 | use App\Model\Plugin; |
| 12 | -use Illuminate\Support\Collection; |
|
| 13 | -use Illuminate\Database\Eloquent\Model; |
|
| 14 | 12 | use Illuminate\Database\Eloquent\Builder; |
| 13 | +use Illuminate\Support\Collection; |
|
| 15 | 14 | |
| 16 | 15 | /** |
| 17 | 16 | * Class PluginRepository. |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | namespace App\Classes\Repositories; |
| 10 | 10 | |
| 11 | 11 | use App\Model\Setting; |
| 12 | -use Illuminate\Support\Collection; |
|
| 13 | 12 | use Illuminate\Database\Eloquent\Builder; |
| 13 | +use Illuminate\Support\Collection; |
|
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | 16 | * Class SettingsRepository. |