Skip to content

Commit e5bf7d5

Browse files
authored
Merge pull request #3 from joanhey/patch-1
Update Run.php explicit nullable php 8.4
2 parents 74ba103 + 9310c08 commit e5bf7d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Exception/Run.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ final class Run implements RunInterface
6767
*/
6868
private $canThrowExceptions = true;
6969

70-
public function __construct(SystemFacade $system = null)
70+
public function __construct(?SystemFacade $system = null)
7171
{
7272
$this->system = $system ?: new SystemFacade;
7373
}

src/Exception/Util/TemplateHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function slug($original)
234234
* @param string $template
235235
* @param array $additionalVariables
236236
*/
237-
public function render($template, array $additionalVariables = null)
237+
public function render($template, ?array $additionalVariables = null)
238238
{
239239
$variables = $this->getVariables();
240240

0 commit comments

Comments
 (0)