Skip to content

Commit a841914

Browse files
Merge pull request #5 from AidynMakhataev/analysis-nNWg51
Apply fixes from StyleCI
2 parents c3d697a + 336f35b commit a841914

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

src/Console/TransferSessionFromFileCommand.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
use Illuminate\Console\Command;
99

1010
/**
11-
* Class TransferSessionFromFileCommand
12-
* @package AidynMakhataev\Tarantool\Session\Console
11+
* Class TransferSessionFromFileCommand.
1312
*/
1413
final 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+
}

src/SessionServiceProvider.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
use Tarantool\Client\Client;
1212

1313
/**
14-
* Class SessionServiceProvider
15-
* @package AidynMakhataev\Tarantool\Session
14+
* Class SessionServiceProvider.
1615
*/
1716
final 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

src/TarantoolSessionHandler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
use Tarantool\Client\Schema\Space;
1010

1111
/**
12-
* Class TarantoolSessionHandler
13-
* @package AidynMakhataev\Tarantool\Session
12+
* Class TarantoolSessionHandler.
1413
*/
1514
final class TarantoolSessionHandler implements \SessionHandlerInterface
1615
{

0 commit comments

Comments
 (0)