We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -8,10 +8,10 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace App\Http\Middleware; |
| 10 | 10 | |
| 11 | -use Closure; |
|
| 11 | +use App\Classes\Interfaces\RouteableInterface; |
|
| 12 | 12 | use App\Model\Plugin; |
| 13 | +use Closure; |
|
| 13 | 14 | use Illuminate\Routing\Router; |
| 14 | -use App\Classes\Interfaces\RouteableInterface; |
|
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Class SettingsProvider. |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Model; |
| 4 | 4 | |
| 5 | -use Carbon\Carbon; |
|
| 6 | 5 | use App\Classes\Interfaces\AuditInterface; |
| 6 | +use Carbon\Carbon; |
|
| 7 | 7 | use OwenIt\Auditing\Models\Audit as Auditing; |
| 8 | 8 | |
| 9 | 9 | /** |
@@ -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 | { |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace App\Model; |
| 4 | 4 | |
| 5 | 5 | use Carbon\Carbon; |
| 6 | -use Illuminate\Database\Eloquent\SoftDeletes; |
|
| 7 | 6 | use Illuminate\Database\Eloquent\Model as EloquentModel; |
| 7 | +use Illuminate\Database\Eloquent\SoftDeletes; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class Redirect. |
@@ -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 | { |
@@ -8,14 +8,14 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace App\Modules\Sitemap; |
| 10 | 10 | |
| 11 | +use App\Classes\Interfaces\Sitemap; |
|
| 12 | +use App\Classes\Repositories\PluginRepository; |
|
| 13 | +use App\Classes\SitemapGenerator; |
|
| 14 | +use App\Http\Controllers\DashboardController; |
|
| 11 | 15 | use App\Model\Plugin; |
| 12 | 16 | use App\Modules\ModuleEngine; |
| 13 | -use App\Classes\SitemapGenerator; |
|
| 14 | -use App\Classes\Interfaces\Sitemap; |
|
| 15 | 17 | use Illuminate\Contracts\View\View; |
| 16 | 18 | use Illuminate\Database\Eloquent\Collection; |
| 17 | -use App\Http\Controllers\DashboardController; |
|
| 18 | -use App\Classes\Repositories\PluginRepository; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Class Controller. |
@@ -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 | { |
@@ -8,8 +8,8 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace App\Modules\Updates; |
| 10 | 10 | |
| 11 | -use App\Modules\ModuleEngine; |
|
| 12 | 11 | use App\Classes\Repositories\UpdateRepository; |
| 12 | +use App\Modules\ModuleEngine; |
|
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * Class Controller. |
@@ -8,11 +8,11 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace App\Plugins\Pages; |
| 10 | 10 | |
| 11 | -use App\Model\Page; |
|
| 12 | -use App\Plugins\PluginEngine; |
|
| 13 | -use App\Classes\SitemapGenerator; |
|
| 14 | 11 | use App\Classes\Interfaces\Sitemap; |
| 15 | 12 | use App\Classes\Repositories\PageRepository; |
| 13 | +use App\Classes\SitemapGenerator; |
|
| 14 | +use App\Model\Page; |
|
| 15 | +use App\Plugins\PluginEngine; |
|
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * Class UserController. |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Plugins; |
| 4 | 4 | |
| 5 | -use App\Model\Plugin; |
|
| 6 | -use App\Http\Controllers\Controller; |
|
| 7 | 5 | use App\Classes\Repositories\PluginRepository; |
| 6 | +use App\Http\Controllers\Controller; |
|
| 7 | +use App\Model\Plugin; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class PluginEngine. |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace App\Providers; |
| 4 | 4 | |
| 5 | 5 | use App\Model\Plugin; |
| 6 | -use Illuminate\Support\Facades\Route; |
|
| 7 | 6 | use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; |
| 7 | +use Illuminate\Support\Facades\Route; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class RouteServiceProvider. |