Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arodu committed Mar 2, 2024
1 parent 7e9524f commit 6e17758
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Command/CopyFilesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function execute(Arguments $args, ConsoleIo $io): ?int
{
// @todo if all files
$all = $args->getOption('all');
$forceOverwrite = (bool) $args->getOption('force');
$forceOverwrite = (bool)$args->getOption('force');
$type = $args->getArgument('type');

if (!$all && empty($type)) {
Expand All @@ -119,7 +119,7 @@ public function execute(Arguments $args, ConsoleIo $io): ?int
$dest = Configure::read('App.paths.templates.0') . 'plugin/CakeLte/';

foreach ($files as $file) {
$content = (string) file_get_contents($src . $file);
$content = (string)file_get_contents($src . $file);
$io->createFile($dest . $file, $content, $forceOverwrite);
}

Expand Down
1 change: 0 additions & 1 deletion src/Style/StyleTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace CakeLte\Style;

use Cake\View\Helper;
use PHPUnit\TextUI\Help;

/**
* Styles trait
Expand Down
2 changes: 1 addition & 1 deletion src/View/Helper/MenuLteHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/**
* MenuLte helper
*
*
* @property \Cake\View\Helper\HtmlHelper $Html
* @property \Cake\View\Helper\UrlHelper $Url
*/
Expand Down

0 comments on commit 6e17758

Please sign in to comment.