Passed
Push — main ( 8a5486...def966 )
by Roman
02:09
created
src/View/Components/Widgets/Component.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
 
7 7
 abstract class Component extends \Illuminate\View\Component
8 8
 {
9
-    protected static string $name;
9
+	protected static string $name;
10 10
 
11
-    public static function getComponentName(): string
12
-    {
13
-        return self::$name;
14
-    }
11
+	public static function getComponentName(): string
12
+	{
13
+		return self::$name;
14
+	}
15 15
 }
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
src/View/Components/Widgets/CardWidget.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -7,24 +7,24 @@
 block discarded – undo
7 7
 class CardWidget extends Component
8 8
 {
9 9
 
10
-    protected static string $name = 'card-widget';
10
+	protected static string $name = 'card-widget';
11 11
 
12
-    public function __construct(public string $title, public string $description)
13
-    {
14
-    }
12
+	public function __construct(public string $title, public string $description)
13
+	{
14
+	}
15 15
 
16
-    /**
17
-     * @inheritDoc
18
-     */
19
-    public function render(): string
20
-    {
21
-        return view(
22
-            sprintf(
23
-                '%s::%s',
24
-                CoreServiceProvider::VIEWS_NAMESPACE,
25
-                'elements.widgets.simple-card'
26
-            )
27
-        )
28
-            ->render();
29
-    }
16
+	/**
17
+	 * @inheritDoc
18
+	 */
19
+	public function render(): string
20
+	{
21
+		return view(
22
+			sprintf(
23
+				'%s::%s',
24
+				CoreServiceProvider::VIEWS_NAMESPACE,
25
+				'elements.widgets.simple-card'
26
+			)
27
+		)
28
+			->render();
29
+	}
30 30
 }
31 31
\ No newline at end of file
Please login to merge, or discard this patch.
src/View/Components/ComponentRegistrar.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -7,20 +7,20 @@
 block discarded – undo
7 7
 
8 8
 final class ComponentRegistrar
9 9
 {
10
-    private array $components = [
11
-        CardWidget::class
12
-    ];
10
+	private array $components = [
11
+		CardWidget::class
12
+	];
13 13
 
14
-    public function register(): void
15
-    {
16
-        array_map(
17
-            fn(string $class) => Blade::component(
18
-                forward_static_call(
19
-                    sprintf('%s::getComponentName', $class)
20
-                ),
21
-                $class
22
-            ),
23
-            $this->components
24
-        );
25
-    }
14
+	public function register(): void
15
+	{
16
+		array_map(
17
+			fn(string $class) => Blade::component(
18
+				forward_static_call(
19
+					sprintf('%s::getComponentName', $class)
20
+				),
21
+				$class
22
+			),
23
+			$this->components
24
+		);
25
+	}
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
src/lang/ua/mdp.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -1,45 +1,45 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'labels' => [
5
-        'fixed-plugin' => [
6
-            'sidebar_filter' => 'Фільтри',
7
-            'sidebar_background' => 'Фон',
8
-            'images' => 'Світлини',
9
-        ],
10
-        'nav_bar' => [
11
-            'toggle_nav' => 'Toggle Navigation',
12
-            'search' => [
13
-                'placeholder' => 'Пошук',
14
-            ],
15
-            'profile' => 'Профіль',
16
-            'settings' => 'Налаштування',
17
-            'log_out' => 'Деавторизуватись',
18
-        ],
19
-        'auth' => [
20
-            'sign_in' => 'Авторизація'
21
-        ]
22
-    ],
23
-    'layouts' => [
24
-        'user' => [
25
-            'auth-v1' => [
26
-                'sign_up' => 'Реєстрація',
27
-                'sign_in' => 'Авторизація',
28
-            ]
29
-        ]
30
-    ],
31
-    'forms' => [
32
-        'user' => [
33
-            'labels' => [
34
-                'sign_in' => 'Авторизація',
35
-                'submit' => 'Авторизуватись'
36
-            ],
37
-            'sign_in' => [
38
-                'placeholders' => [
39
-                    'email' => 'до прикладу [email protected]',
40
-                    'password' => '********'
41
-                ]
42
-            ]
43
-        ]
44
-    ]
4
+	'labels' => [
5
+		'fixed-plugin' => [
6
+			'sidebar_filter' => 'Фільтри',
7
+			'sidebar_background' => 'Фон',
8
+			'images' => 'Світлини',
9
+		],
10
+		'nav_bar' => [
11
+			'toggle_nav' => 'Toggle Navigation',
12
+			'search' => [
13
+				'placeholder' => 'Пошук',
14
+			],
15
+			'profile' => 'Профіль',
16
+			'settings' => 'Налаштування',
17
+			'log_out' => 'Деавторизуватись',
18
+		],
19
+		'auth' => [
20
+			'sign_in' => 'Авторизація'
21
+		]
22
+	],
23
+	'layouts' => [
24
+		'user' => [
25
+			'auth-v1' => [
26
+				'sign_up' => 'Реєстрація',
27
+				'sign_in' => 'Авторизація',
28
+			]
29
+		]
30
+	],
31
+	'forms' => [
32
+		'user' => [
33
+			'labels' => [
34
+				'sign_in' => 'Авторизація',
35
+				'submit' => 'Авторизуватись'
36
+			],
37
+			'sign_in' => [
38
+				'placeholders' => [
39
+					'email' => 'до прикладу [email protected]',
40
+					'password' => '********'
41
+				]
42
+			]
43
+		]
44
+	]
45 45
 ];
46 46
\ No newline at end of file
Please login to merge, or discard this patch.
src/lang/kz/mdp.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -1,45 +1,45 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'labels' => [
5
-        'fixed-plugin' => [
6
-            'sidebar_filter' => 'Бүйірлік тақта сүзгісі',
7
-            'sidebar_background' => 'Бүйірлік тақтаның фоны',
8
-            'images' => 'Суреттер',
9
-        ],
10
-        'nav_bar' => [
11
-            'toggle_nav' => 'Навигацияны ауыстыру',
12
-            'search' => [
13
-                'placeholder' => 'Іздеу...',
14
-            ],
15
-            'profile' => 'Профиль',
16
-            'settings' => 'Параметрлер',
17
-            'log_out' => 'Жүйеден шығу',
18
-        ],
19
-        'auth' => [
20
-            'sign_in' => 'Кіру'
21
-        ]
22
-    ],
23
-    'layouts' => [
24
-        'user' => [
25
-            'auth-v1' => [
26
-                'sign_up' => 'Тіркелу',
27
-                'sign_in' => 'Кіру',
28
-            ]
29
-        ]
30
-    ],
31
-    'forms' => [
32
-        'user' => [
33
-            'labels' => [
34
-                'sign_in' => 'Логин',
35
-                'submit' => 'Жүйеге кіру'
36
-            ],
37
-            'sign_in' => [
38
-                'placeholders' => [
39
-                    'email' => '[email protected]',
40
-                    'password' => '********'
41
-                ]
42
-            ]
43
-        ]
44
-    ]
4
+	'labels' => [
5
+		'fixed-plugin' => [
6
+			'sidebar_filter' => 'Бүйірлік тақта сүзгісі',
7
+			'sidebar_background' => 'Бүйірлік тақтаның фоны',
8
+			'images' => 'Суреттер',
9
+		],
10
+		'nav_bar' => [
11
+			'toggle_nav' => 'Навигацияны ауыстыру',
12
+			'search' => [
13
+				'placeholder' => 'Іздеу...',
14
+			],
15
+			'profile' => 'Профиль',
16
+			'settings' => 'Параметрлер',
17
+			'log_out' => 'Жүйеден шығу',
18
+		],
19
+		'auth' => [
20
+			'sign_in' => 'Кіру'
21
+		]
22
+	],
23
+	'layouts' => [
24
+		'user' => [
25
+			'auth-v1' => [
26
+				'sign_up' => 'Тіркелу',
27
+				'sign_in' => 'Кіру',
28
+			]
29
+		]
30
+	],
31
+	'forms' => [
32
+		'user' => [
33
+			'labels' => [
34
+				'sign_in' => 'Логин',
35
+				'submit' => 'Жүйеге кіру'
36
+			],
37
+			'sign_in' => [
38
+				'placeholders' => [
39
+					'email' => '[email protected]',
40
+					'password' => '********'
41
+				]
42
+			]
43
+		]
44
+	]
45 45
 ];
46 46
\ No newline at end of file
Please login to merge, or discard this patch.
src/lang/en/mdp.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -1,45 +1,45 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'labels' => [
5
-        'fixed-plugin' => [
6
-            'sidebar_filter' => 'Sidebar Filter',
7
-            'sidebar_background' => 'Sidebar Background',
8
-            'images' => 'Images',
9
-        ],
10
-        'nav_bar' => [
11
-            'toggle_nav' => 'Toggle Navigation',
12
-            'search' => [
13
-                'placeholder' => 'Search...',
14
-            ],
15
-            'profile' => 'Profile',
16
-            'settings' => 'Settings',
17
-            'log_out' => 'Log Out',
18
-        ],
19
-        'auth' => [
20
-            'sign_in' => 'Sign In'
21
-        ]
22
-    ],
23
-    'layouts' => [
24
-        'user' => [
25
-            'auth-v1' => [
26
-                'sign_up' => 'Sign Up',
27
-                'sign_in' => 'Sign In',
28
-            ]
29
-        ]
30
-    ],
31
-    'forms' => [
32
-        'user' => [
33
-            'labels' => [
34
-                'sign_in' => 'Login',
35
-                'submit' => 'Let\'s Go'
36
-            ],
37
-            'sign_in' => [
38
-                'placeholders' => [
39
-                    'email' => 'ex. [email protected]',
40
-                    'password' => '********'
41
-                ]
42
-            ]
43
-        ]
44
-    ]
4
+	'labels' => [
5
+		'fixed-plugin' => [
6
+			'sidebar_filter' => 'Sidebar Filter',
7
+			'sidebar_background' => 'Sidebar Background',
8
+			'images' => 'Images',
9
+		],
10
+		'nav_bar' => [
11
+			'toggle_nav' => 'Toggle Navigation',
12
+			'search' => [
13
+				'placeholder' => 'Search...',
14
+			],
15
+			'profile' => 'Profile',
16
+			'settings' => 'Settings',
17
+			'log_out' => 'Log Out',
18
+		],
19
+		'auth' => [
20
+			'sign_in' => 'Sign In'
21
+		]
22
+	],
23
+	'layouts' => [
24
+		'user' => [
25
+			'auth-v1' => [
26
+				'sign_up' => 'Sign Up',
27
+				'sign_in' => 'Sign In',
28
+			]
29
+		]
30
+	],
31
+	'forms' => [
32
+		'user' => [
33
+			'labels' => [
34
+				'sign_in' => 'Login',
35
+				'submit' => 'Let\'s Go'
36
+			],
37
+			'sign_in' => [
38
+				'placeholders' => [
39
+					'email' => 'ex. [email protected]',
40
+					'password' => '********'
41
+				]
42
+			]
43
+		]
44
+	]
45 45
 ];
46 46
\ No newline at end of file
Please login to merge, or discard this patch.