Skip to content

Commit 1e8e817

Browse files
bytestreamandywer
authored andcommitted
Remove global namespace facade usages (#65)
1 parent 720fb91 commit 1e8e817

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/Caching/ConfigCachingService.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
namespace JsLocalization\Caching;
33

4-
use Config;
5-
use Event;
4+
use Illuminate\Support\Facades\Config;
5+
use Illuminate\Support\Facades\Event;
66

77
/**
88
* Class ConfigCachingService

src/Caching/MessageCachingService.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22
namespace JsLocalization\Caching;
33

4-
use Cache;
5-
use Config;
6-
use Event;
7-
use Lang;
4+
use Illuminate\Support\Facades\Cache;
5+
use Illuminate\Support\Facades\Config;
6+
use Illuminate\Support\Facades\Event;
7+
use Illuminate\Support\Facades\Lang;
88
use JsLocalization\Facades\JsLocalizationHelper;
99

1010
/**

src/Utils/Helper.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
namespace JsLocalization\Utils;
33

44
use App;
5-
use Event;
5+
use Illuminate\Support\Facades\Event;
66
use Illuminate\Support\Facades\File;
77
use JsLocalization\Exceptions\FileNotFoundException;
88

99
class Helper
1010
{
11-
11+
1212
/**
1313
* Array of message keys. A set of messages that are
1414
* supposed to be exported to the JS code in addition
@@ -192,4 +192,4 @@ private function prefix($prefix)
192192
return $prefix;
193193
}
194194

195-
}
195+
}

0 commit comments

Comments
 (0)