Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/DI/Managers/DefinitionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public function __construct(
*
* @param array<string, mixed> $definitions The array of definitions.
*
* @return $this
* @throws ContainerException
*/
public function addDefinitions(array $definitions): self
Expand All @@ -66,7 +65,6 @@ public function addDefinitions(array $definitions): self
* @param LifetimeEnum $lifetime The lifetime of the definition.
* @param array<int, string> $tags An array of tags to associate with the definition.
*
* @return $this
* @throws ContainerException if the container is locked or if the id is the same as the definition.
*/
public function bind(
Expand Down Expand Up @@ -96,7 +94,6 @@ public function bind(
*
* @param bool $forceClearFirst Whether to clear the cache before caching all definitions.
*
* @return $this
* @throws ContainerException|InvalidArgumentException
* @throws ReflectionException
*/
Expand Down Expand Up @@ -132,7 +129,6 @@ public function cacheAllDefinitions(bool $forceClearFirst = false): self
*
* The given adapter can be any PHP-FIG PSR-6 pool implementation.
*
* @return $this
* @throws ContainerException
*/
public function enableDefinitionCache(
Expand Down
8 changes: 0 additions & 8 deletions src/DI/Managers/OptionsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public function __construct(
* @param string $interface the interface to bind
* @param string $concrete the concrete implementation to bind to
*
* @return $this
* @throws ContainerException if the container is locked
*/
public function bindInterfaceForEnv(string $env, string $interface, string $concrete): self
Expand Down Expand Up @@ -80,8 +79,6 @@ public function definitions(): DefinitionManager
*
* @param bool $enable Whether to enable debug tracing. Defaults to true.
* @param TraceLevelEnum $level The trace level to use. Defaults to `TraceLevelEnum::Node`.
*
* @return $this
*/
public function enableDebugTracing(bool $enable = true, TraceLevelEnum $level = TraceLevelEnum::Node): self
{
Expand All @@ -100,7 +97,6 @@ public function enableDebugTracing(bool $enable = true, TraceLevelEnum $level =
*
* @param bool $lazy Whether to enable lazy loading. Defaults to true.
*
* @return $this
* @throws ContainerException
*/
public function enableLazyLoading(bool $lazy = true): self
Expand All @@ -119,7 +115,6 @@ public function enableLazyLoading(bool $lazy = true): self
*
* @param string $path The path to the preload file.
*
* @return $this
* @throws \ReflectionException
*/
public function generatePreload(string $path): self
Expand Down Expand Up @@ -150,7 +145,6 @@ public function invocation(): InvocationManager
* @param string $attributeFqcn The fully qualified class name of the attribute.
* @param string $resolverFqcn The fully qualified class name of the resolver.
*
* @return $this
* @throws ContainerException
*/
public function registerAttributeResolver(
Expand Down Expand Up @@ -211,7 +205,6 @@ public function setDefinitionMetaForEnv(
* used for environment-specific configurations or bindings.
*
* @param string $env The name of the environment to set.
* @return $this
* @throws ContainerException
*/
public function setEnvironment(string $env): self
Expand All @@ -232,7 +225,6 @@ public function setEnvironment(string $env): self
* @param bool $propertyAttributes Whether to enable property attributes. Defaults to false.
* @param string|null $defaultMethod The default method to call if none is specified. Defaults to null.
*
* @return $this
* @throws ContainerException
*/
public function setOptions(
Expand Down
4 changes: 0 additions & 4 deletions src/DI/Managers/RegistrationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public function options(): OptionsManager
* @param string $class The name of the class to register.
* @param array<int|string, mixed> $parameters An array of parameters to be passed to the class constructor.
*
* @return $this
* @throws ContainerException
*/
public function registerClass(string $class, array $parameters = []): self
Expand All @@ -128,7 +127,6 @@ public function registerClass(string $class, array $parameters = []): self
* @param callable|Closure $function The closure to be registered.
* @param array<int|string, mixed> $parameters Any parameters to be passed to the closure.
*
* @return $this
* @throws ContainerException
*/
public function registerClosure(
Expand All @@ -152,7 +150,6 @@ public function registerClosure(
* @param string $method The name of the method to register.
* @param array<int|string, mixed> $parameters An array of parameters to be passed to the method.
*
* @return $this
* @throws ContainerException
*/
public function registerMethod(
Expand All @@ -178,7 +175,6 @@ public function registerMethod(
* @param string $class The name of the class whose property is being registered.
* @param array<string, mixed> $property An array of property names as keys and their associated values as values.
*
* @return $this
* @throws ContainerException
*/
public function registerProperty(string $class, array $property): self
Expand Down
4 changes: 0 additions & 4 deletions src/Remix/ConditionalProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ public function __unset(string $key): void

/**
* Set the condition on the proxy.
*
* @return $this
*/
public function condition(bool $condition): static
{
Expand All @@ -99,8 +97,6 @@ public function condition(bool $condition): static

/**
* Invert the next condition captured from the target.
*
* @return $this
*/
public function negateConditionOnCapture(): static
{
Expand Down