-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef44f28
commit f670288
Showing
8 changed files
with
80 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- File.php 2017-07-11 09:42:15 | ||
+++ File.php 2024-08-26 23:13:27 | ||
@@ -192,7 +192,7 @@ | ||
* @throws \Hoa\File\Exception\FileDoesNotExist | ||
* @throws \Hoa\File\Exception | ||
*/ | ||
- protected function &_open($streamName, Stream\Context $context = null) | ||
+ protected function &_open($streamName, ?Stream\Context $context = null) | ||
{ | ||
if (substr($streamName, 0, 4) == 'file' && | ||
false === is_dir(dirname($streamName))) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- Idle.php 2017-01-16 08:53:27 | ||
+++ Idle.php 2024-08-26 23:18:04 | ||
@@ -100,7 +100,7 @@ | ||
$message, | ||
$code = 0, | ||
$arguments = [], | ||
- \Exception $previous = null | ||
+ ?\Exception $previous = null | ||
) { | ||
$this->_tmpArguments = $arguments; | ||
parent::__construct($message, $code, $previous); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- Llk/Rule/Invocation.php 2017-08-08 09:44:07 | ||
+++ Llk/Rule/Invocation.php 2024-08-26 23:11:25 | ||
@@ -95,7 +95,7 @@ | ||
public function __construct( | ||
$rule, | ||
$data, | ||
- array $todo = null, | ||
+ ?array $todo = null, | ||
$depth = -1 | ||
) { | ||
$this->_rule = $rule; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- Read.php 2017-07-11 09:42:15 | ||
+++ Read.php 2024-08-26 23:09:54 | ||
@@ -77,7 +77,7 @@ | ||
* @throws \Hoa\File\Exception\FileDoesNotExist | ||
* @throws \Hoa\File\Exception | ||
*/ | ||
- protected function &_open($streamName, Stream\Context $context = null) | ||
+ protected function &_open($streamName, ?Stream\Context $context = null) | ||
{ | ||
static $createModes = [ | ||
parent::MODE_READ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- Llk/TreeNode.php 2017-08-08 09:44:07 | ||
+++ Llk/TreeNode.php 2024-08-26 23:07:29 | ||
@@ -95,9 +95,9 @@ | ||
*/ | ||
public function __construct( | ||
$id, | ||
- array $value = null, | ||
+ ?array $value = null, | ||
array $children = [], | ||
- self $parent = null | ||
+ ?self $parent = null | ||
) { | ||
$this->setId($id); | ||
|