Skip to content

Commit 05ada0b

Browse files
committed
Fix warning with PHP 7.4
1 parent c95ba94 commit 05ada0b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Command/MigrateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
3030

3131
foreach($files as $file) {
3232
$fileName = $file->getFilename();
33-
if ($fileName{0} !== '.' && ! $file->isDir()) {
33+
if ($fileName[0] !== '.' && ! $file->isDir()) {
3434
$key = substr($file->getRealPath(), strlen(FILES_DIR) + 1);
3535

3636
if (! $this->fileExists($storage, $key)) {

Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function getPluginAuthor()
3333

3434
public function getPluginVersion()
3535
{
36-
return '1.0.1';
36+
return '1.0.2';
3737
}
3838

3939
public function getPluginHomepage()

0 commit comments

Comments
 (0)