Skip to content

Commit

Permalink
#14: whoops need to cast to array
Browse files Browse the repository at this point in the history
- site:create timble --symlink textman only passes in 'all'
- putting back in place original type casting
  • Loading branch information
yiendos committed May 23, 2017
1 parent 52c6e12 commit 88fe21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Joomlatools/Console/Command/Extension/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
{
parent::execute($input, $output);

$extensions = $input->getArgument('extension');
$extensions = (array) $input->getArgument('extension');

//https://regex101.com/r/fHlWZZ/1
$re = '/[a-zA-Z0-9_.-].*\/[a-zA-Z0-9_.-]*:[?:(a-z-_#)?:(\>=\<=~^)(0-9).\*]*/';
Expand Down

0 comments on commit 88fe21a

Please sign in to comment.