Skip to content

Commit

Permalink
Merge pull request #8 from gabrielzerbib/master
Browse files Browse the repository at this point in the history
php7 new obj by ref
  • Loading branch information
Gabriel Zerbib committed Aug 16, 2016
2 parents f12b3ad + 21fd6eb commit 475d540
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/figdice/classes/ViewElementTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @author Gabriel Zerbib <gabriel@figdice.org>
* @copyright 2004-2016, Gabriel Zerbib.
* @version 2.3.2
* @version 2.3.3
* @package FigDice
*
* This file is part of FigDice.
Expand Down Expand Up @@ -106,7 +106,7 @@ class ViewElementTag extends ViewElement {
* @param string $name
* @param integer $xmlLineNumber
*/
public function __construct(View &$view, $name, $xmlLineNumber) {
public function __construct(View $view, $name, $xmlLineNumber) {
parent::__construct($view);
$this->name = $name;
$this->attributes = array();
Expand Down
5 changes: 3 additions & 2 deletions src/figdice/classes/lexer/Lexer.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* @author Gabriel Zerbib <gabriel@figdice.org>
* @copyright 2004-2015, Gabriel Zerbib.
* @version 2.1.2
* @copyright 2004-2016, Gabriel Zerbib.
* @version 2.3.3
* @package FigDice
*
* This file is part of FigDice.
Expand All @@ -24,6 +24,7 @@
namespace figdice\classes\lexer;

use figdice\classes\File;
use figdice\classes\ViewElement;
use \figdice\classes\ViewElementTag;
use \figdice\exceptions\LexerUnexpectedCharException;
use \figdice\exceptions\LexerSyntaxErrorException;
Expand Down
6 changes: 2 additions & 4 deletions test/LexerTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* @author Gabriel Zerbib <gabriel@figdice.org>
* @copyright 2004-2015, Gabriel Zerbib.
* @version 2.1.1
* @copyright 2004-2016, Gabriel Zerbib.
* @version 2.3.3
* @package FigDice
*
* This file is part of FigDice.
Expand All @@ -22,9 +22,7 @@
*/

use figdice\classes\lexer\Lexer;
use figdice\exceptions\LexerUnexpectedCharException;
use figdice\View;
use figdice\classes\File;
use figdice\classes\ViewElementTag;

/**
Expand Down

0 comments on commit 475d540

Please sign in to comment.