We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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) |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | - * @return mixed |
|
| 115 | + * @return boolean |
|
| 116 | 116 | */ |
| 117 | 117 | public function isInstalled() |
| 118 | 118 | { |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | - * @return Page|mixed |
|
| 116 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
| 117 | 117 | */ |
| 118 | 118 | public function fromPage() |
| 119 | 119 | { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | /** |
| 124 | - * @return Page|mixed |
|
| 124 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
| 125 | 125 | */ |
| 126 | 126 | public function toPage() |
| 127 | 127 | { |
@@ -65,7 +65,6 @@ discard block |
||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @param PluginRepository $plugins |
|
| 69 | 68 | * @return \Illuminate\Contracts\Routing\ResponseFactory|\Symfony\Component\HttpFoundation\Response |
| 70 | 69 | */ |
| 71 | 70 | public function all() |
@@ -96,7 +95,7 @@ discard block |
||
| 96 | 95 | * Get the plugin sitemap function and its contents. |
| 97 | 96 | * |
| 98 | 97 | * @param Sitemap $plugin |
| 99 | - * @return bool|mixed |
|
| 98 | + * @return SitemapGenerator |
|
| 100 | 99 | */ |
| 101 | 100 | private function sitemap(Sitemap $plugin) |
| 102 | 101 | { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | - * @return mixed |
|
| 34 | + * @return \Illuminate\Contracts\View\View |
|
| 35 | 35 | */ |
| 36 | 36 | public function index() |
| 37 | 37 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Execute the console command. |
| 44 | 44 | * |
| 45 | - * @return mixed |
|
| 45 | + * @return boolean |
|
| 46 | 46 | */ |
| 47 | 47 | public function handle() |
| 48 | 48 | { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * |
| 38 | 38 | * Helper function (Settings()) |
| 39 | 39 | * |
| 40 | - * @return mixed |
|
| 40 | + * @return \Illuminate\Contracts\View\View |
|
| 41 | 41 | */ |
| 42 | 42 | public function index() |
| 43 | 43 | { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * Show the form for creating a new resource. |
| 50 | 50 | * |
| 51 | 51 | * @param PageRepository $pageRepository |
| 52 | - * @return \Illuminate\Http\Response |
|
| 52 | + * @return \Illuminate\Contracts\View\View |
|
| 53 | 53 | */ |
| 54 | 54 | public function create(PageRepository $pageRepository) |
| 55 | 55 | { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * Store a newly created resource in storage. |
| 61 | 61 | * |
| 62 | 62 | * @param \Illuminate\Http\Request $request |
| 63 | - * @return \Illuminate\Http\Response |
|
| 63 | + * @return \Illuminate\Http\RedirectResponse |
|
| 64 | 64 | */ |
| 65 | 65 | public function store(Request $request) |
| 66 | 66 | { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | * @param int $id |
| 76 | 76 | * @param RedirectRepository $redirectRepository |
| 77 | 77 | * @param PageRepository $repository |
| 78 | - * @return \Illuminate\Http\Response |
|
| 78 | + * @return \Illuminate\Contracts\View\View |
|
| 79 | 79 | */ |
| 80 | 80 | public function edit($id, RedirectRepository $redirectRepository, PageRepository $repository) |
| 81 | 81 | { |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * @param \Illuminate\Http\Request $request |
| 93 | 93 | * @param int $id |
| 94 | 94 | * @param RedirectRepository $repository |
| 95 | - * @return \Illuminate\Http\Response |
|
| 95 | + * @return \Illuminate\Http\RedirectResponse |
|
| 96 | 96 | */ |
| 97 | 97 | public function update(Request $request, $id, RedirectRepository $repository) |
| 98 | 98 | { |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | * |
| 107 | 107 | * @param int $id |
| 108 | 108 | * @param RedirectRepository $repository |
| 109 | - * @return \Illuminate\Http\Response |
|
| 109 | + * @return \Illuminate\Http\RedirectResponse |
|
| 110 | 110 | * @throws \Exception |
| 111 | 111 | */ |
| 112 | 112 | public function destroy($id, RedirectRepository $repository) |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Return the auth account instance class. |
| 5 | 5 | * |
| 6 | - * @return \App\Model\Account|\Illuminate\Contracts\Auth\Authenticatable |
|
| 6 | + * @return App\Model\Account |
|
| 7 | 7 | */ |
| 8 | 8 | function account() |
| 9 | 9 | { |