Skip to content

Commit 2159d6a

Browse files
authored
Format code by the latest cs-fixer. (#6617)
1 parent 05b589b commit 2159d6a

37 files changed

Lines changed: 53 additions & 12 deletions

publish/databases.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
use Hyperf\ModelCache\Handler\RedisHandler;
13+
1214
use function Hyperf\Support\env;
1315

1416
return [
@@ -30,7 +32,7 @@
3032
'max_idle_time' => (float) env('DB_MAX_IDLE_TIME', 60),
3133
],
3234
'cache' => [
33-
'handler' => \Hyperf\ModelCache\Handler\RedisHandler::class,
35+
'handler' => RedisHandler::class,
3436
'cache_key' => 'mc:%s:m:%s:%s:%s',
3537
'prefix' => 'default',
3638
'pool' => 'default',

src/Builder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\ModelCache;
1314

1415
use Closure;

src/Cacheable.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\ModelCache;
1314

1415
use Hyperf\Context\ApplicationContext;

src/CacheableInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\ModelCache;
1314

1415
use Hyperf\Database\Model\Collection;

src/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\ModelCache;
1314

1415
use DateInterval;

src/ConfigProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\ModelCache;
1314

1415
use Hyperf\ModelCache\Listener\DeleteCacheInTransactionListener;

src/EagerLoad/EagerLoader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\ModelCache\EagerLoad;
1314

1415
use Hyperf\Database\Connection;

src/EagerLoad/EagerLoaderBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\ModelCache\EagerLoad;
1314

1415
use Closure;

src/Exception/CacheException.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\ModelCache\Exception;
1314

1415
use RuntimeException;

src/Exception/OperatorNotFoundException.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\ModelCache\Exception;
1314

1415
use RuntimeException;

0 commit comments

Comments
 (0)