Passed
Push — main ( 8e0a3d...46d6c5 )
by Roman
02:27
created
src/routes/mdp/auth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 Route::name('kield01.mdp.')
7 7
 	->prefix('mdp')
8 8
 	->group(
9
-		static function () {
9
+		static function() {
10 10
 			Route::any('login', [TestAuthController::class, 'login'])->name('user.login');
11 11
 			Route::post('login', [TestAuthController::class, 'auth'])->name('user.auth');
12 12
 
Please login to merge, or discard this patch.
src/routes/mdp/dashboard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 Route::name('kield01.mdp.dashboard.')
9 9
 	->prefix('mdp')
10 10
 	->group(
11
-		static function () {
11
+		static function() {
12 12
 			Route::prefix('dashboard')
13 13
 				->group(
14
-					static function () {
14
+					static function() {
15 15
 						Route::any('', [TestDashboardController::class, 'dashboard'])->name('index');
16 16
 					}
17 17
 				);
Please login to merge, or discard this patch.
src/Helpers/MenuItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 		$words = explode(' ', $this->getTitle());
57 57
 
58 58
 		$abbrArray = array_map(
59
-			static function ($word) {
59
+			static function($word) {
60 60
 				$array = mb_str_split($word);
61 61
 
62 62
 				return current($array);
Please login to merge, or discard this patch.
src/Helpers/MenuBuilder.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@
 block discarded – undo
25 25
 		foreach ($menuItems as $index => $menuItem) {
26 26
 			if (!array_key_exists('can', $menuItem) || $menuResolver->resolve($menuItem['can'])) {
27 27
 				$link = array_key_exists('link', $menuItem) ?
28
-					$menuItem['link'] :
29
-					['type' => MenuItemLinkType::URI, 'uri' => '#'];
28
+					$menuItem['link'] : ['type' => MenuItemLinkType::URI, 'uri' => '#'];
30 29
 
31 30
 				$hasIcon = array_key_exists('icon', $menuItem);
32 31
 
Please login to merge, or discard this patch.