Laravel version update
Laravel version update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace PhpParser\Node\Stmt;
|
||||
|
||||
@@ -15,12 +15,16 @@ class HaltCompiler extends Stmt
|
||||
* @param string $remaining Remaining text after halt compiler statement.
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct($remaining, array $attributes = array()) {
|
||||
public function __construct(string $remaining, array $attributes = []) {
|
||||
parent::__construct($attributes);
|
||||
$this->remaining = $remaining;
|
||||
}
|
||||
|
||||
public function getSubNodeNames() {
|
||||
return array('remaining');
|
||||
public function getSubNodeNames() : array {
|
||||
return ['remaining'];
|
||||
}
|
||||
|
||||
public function getType() : string {
|
||||
return 'Stmt_HaltCompiler';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user