We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74ba103 + 9310c08 commit e5bf7d5Copy full SHA for e5bf7d5
src/Exception/Run.php
@@ -67,7 +67,7 @@ final class Run implements RunInterface
67
*/
68
private $canThrowExceptions = true;
69
70
- public function __construct(SystemFacade $system = null)
+ public function __construct(?SystemFacade $system = null)
71
{
72
$this->system = $system ?: new SystemFacade;
73
}
src/Exception/Util/TemplateHelper.php
@@ -234,7 +234,7 @@ public function slug($original)
234
* @param string $template
235
* @param array $additionalVariables
236
237
- public function render($template, array $additionalVariables = null)
+ public function render($template, ?array $additionalVariables = null)
238
239
$variables = $this->getVariables();
240
0 commit comments