We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd29f93 commit 8dcda32Copy full SHA for 8dcda32
src/Components/Translations.php
@@ -2,28 +2,15 @@
2
3
namespace Modular\Modular\Components;
4
5
+use Closure;
6
+use Illuminate\Contracts\View\View;
7
use Illuminate\Support\Arr;
8
use Illuminate\Support\Facades\File;
9
use Illuminate\View\Component;
10
11
class Translations extends Component
12
{
- /**
- * Create a new component instance.
13
- *
14
- * @return void
15
- */
16
- public function __construct()
17
- {
18
- //
19
- }
20
-
21
22
- * Get the view / contents that represent the component.
23
24
- * @return \Illuminate\Contracts\View\View|\Closure|string
25
26
- public function render()
+ public function render(): View|Closure|string
27
28
$locale = app()->getLocale();
29
0 commit comments