File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 88use Illuminate \Console \Command ;
99
1010/**
11- * Class TransferSessionFromFileCommand
12- * @package AidynMakhataev\Tarantool\Session\Console
11+ * Class TransferSessionFromFileCommand.
1312 */
1413final class TransferSessionFromFileCommand extends Command
1514{
@@ -31,7 +30,7 @@ final class TransferSessionFromFileCommand extends Command
3130 private $ sessionHandler ;
3231
3332 private static $ ignoreFileList = [
34- '.gitignore '
33+ '.gitignore ' ,
3534 ];
3635
3736 /**
@@ -55,7 +54,7 @@ public function handle(): void
5554 $ directory = new \DirectoryIterator (storage_path ('framework/sessions ' ));
5655
5756 foreach ($ directory as $ file ) {
58- if ($ file ->isFile () && !in_array ($ file ->getFilename (), self ::$ ignoreFileList )) {
57+ if ($ file ->isFile () && ! in_array ($ file ->getFilename (), self ::$ ignoreFileList )) {
5958 $ key = $ file ->getFilename ();
6059
6160 $ value = file_get_contents ($ file ->getPathname ());
@@ -66,4 +65,4 @@ public function handle(): void
6665
6766 $ this ->info ('Transfer successfully completed ' );
6867 }
69- }
68+ }
Original file line number Diff line number Diff line change 1111use Tarantool \Client \Client ;
1212
1313/**
14- * Class SessionServiceProvider
15- * @package AidynMakhataev\Tarantool\Session
14+ * Class SessionServiceProvider.
1615 */
1716final class SessionServiceProvider extends ServiceProvider
1817{
@@ -23,7 +22,7 @@ public function register(): void
2322 );
2423
2524 $ this ->commands ([
26- TransferSessionFromFileCommand::class
25+ TransferSessionFromFileCommand::class,
2726 ]);
2827 }
2928
Original file line number Diff line number Diff line change 99use Tarantool \Client \Schema \Space ;
1010
1111/**
12- * Class TarantoolSessionHandler
13- * @package AidynMakhataev\Tarantool\Session
12+ * Class TarantoolSessionHandler.
1413 */
1514final class TarantoolSessionHandler implements \SessionHandlerInterface
1615{
You can’t perform that action at this time.
0 commit comments