Skip to content

Commit

Permalink
Fix warning with PHP 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Jun 13, 2020
1 parent c95ba94 commit 05ada0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Command/MigrateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function execute(InputInterface $input, OutputInterface $output)

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

if (! $this->fileExists($storage, $key)) {
Expand Down
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function getPluginAuthor()

public function getPluginVersion()
{
return '1.0.1';
return '1.0.2';
}

public function getPluginHomepage()
Expand Down

0 comments on commit 05ada0b

Please sign in to comment.