Skip to content

Commit 24a5b7a

Browse files
authored
Update Runtime.php
1 parent 583d8d2 commit 24a5b7a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/frdl/Runtime.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ protected function __construct(){
6666
'addContainer' => function (\Psr\Container\ContainerInterface $container) {
6767
return $this->getContainer()->addContainer($container);
6868
},
69-
'setKernel' => function (\frdlweb\AppInterface $kernel) {
69+
'setKernel' => function (\Frdlweb\AppInterface $kernel) {
7070
$this->kernel = $kernel;
7171
return $this;
7272
},
73-
'getKernel' => function (bool $load = true) : \frdlweb\AppInterface {
73+
'getKernel' => function (bool $load = true) : \Frdlweb\AppInterface {
7474
if(true === $load && null === $this->kernel){
7575
$this->setKernel( \Webfan\Webfat\App\Kernel::mutex() );
7676
}
@@ -79,9 +79,7 @@ protected function __construct(){
7979
'isLocalhost' => function () :bool {
8080
return $_SERVER['REMOTE_ADDR'] === '127.0.0.1';
8181
},
82-
]);
83-
84-
//$this->obj = $this->obj();
82+
]);
8583
}
8684

8785
public function getObject(){

0 commit comments

Comments
 (0)