Skip to content

Commit

Permalink
Use old way to create empty array
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskonnertz authored Oct 15, 2019
1 parent 1f0ad32 commit fc1b5ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Weez/Zpl/Utils/ZplUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private static function variableObjectToZplCode($object)
* @param array $variables list variable
* @return string
*/
public static function zplCommand($command, $variables = [])
public static function zplCommand($command, $variables = array())
{
$zpl = '';
$zpl .= "^";
Expand All @@ -70,7 +70,7 @@ public static function zplCommand($command, $variables = [])
* @param array $variables
* @return string
*/
public static function zplCommandSautLigne($command, $variables = [])
public static function zplCommandSautLigne($command, $variables = array())
{
$zpl = self::zplCommand($command, $variables);
$zpl .= "\n";
Expand Down

0 comments on commit fc1b5ac

Please sign in to comment.