Skip to content

Commit

Permalink
#29 Bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
amostajo committed Jan 14, 2020
1 parent d175b1b commit 0cff531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/CreateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ class CreateCommand extends Command
/**
* Calls to command action.
* @since 1.0.0
* @since 1.0.1 Added type definition.
* @since 1.0.2 Added option model.
* @since 1.0.3 Fixed category option model creation.
*
* @param array $args Action arguments.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Traits/CreateAssetTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @copyright 10Quality <http://www.10quality.com>
* @license MIT
* @package WPMVC\Commands
* @version 1.1.5
* @version 1.1.5.1
*/
trait CreateAssetTrait
{
Expand All @@ -23,7 +23,7 @@ trait CreateAssetTrait
* @param string $filename Filename.
* @param array $args Additional arguments.
*/
protected function createAsset($type, $filename, $args = null)
protected function createAsset($type, $filename, $args = [])
{
try {
// Prepare assets
Expand Down

0 comments on commit 0cff531

Please sign in to comment.