Skip to content

Commit

Permalink
Remove CompileNullObject class and its invocation
Browse files Browse the repository at this point in the history
The CompileNullObject class and its usage were removed, likely to simplify the code and reduce unnecessary complexity. Its functionality appears to no longer be required in the CompileInjector process.
  • Loading branch information
koriym committed Jan 12, 2025
1 parent ff26d8b commit dfb2eac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
1 change: 0 additions & 1 deletion src/CompileInjector.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,5 @@ public function compile(AbstractModule $module): void
(new Bind($module->getContainer(), ''))->annotatedWith(ScriptDir::class)->toInstance($this->scriptDir);
(new Bind($module->getContainer(), InjectorInterface::class))->toInstance(new AirInjector($this->scriptDir));
(new Compiler())->compile($module, $this->scriptDir);
(new CompileNullObject())($module->getContainer(), $this->scriptDir);
}
}
33 changes: 0 additions & 33 deletions src/CompileNullObject.php

This file was deleted.

0 comments on commit dfb2eac

Please sign in to comment.