Skip to content

Commit

Permalink
[#ntegration] - additional corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Aug 8, 2024
1 parent 4273b45 commit 11159c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/Container/Definitions/ClassDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,21 +359,19 @@ protected function collateArguments(Container $container): void
foreach ($this->parameters as $position => $parameter) {
$this->collatePositionalArgument($position)
|| $this->collateTypedArgument($position, $parameter, $container)
|| $this->collateInheritedArgument($position, $parameter, $inherited)
|| $this->collateInheritedArgument($position, $inherited)
|| $this->collateOptionalArgument($position, $parameter);
}
}

/**
* @param int $position
* @param ReflectionParameter $parameter
* @param array $inherited
*
* @return bool
*/
protected function collateInheritedArgument(
int $position,
ReflectionParameter $parameter,
array $inherited
): bool {
if (array_key_exists($position, $inherited)) {
Expand Down
1 change: 0 additions & 1 deletion src/Mvc/Model/MetaData.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ abstract class MetaData extends Injectable implements MetaDataInterface
public const MODELS_PRIMARY_KEY = 1;
public const MODELS_REVERSE_COLUMN_MAP = 1;


private const MESSAGE_INVALID_METADATA = "The meta-data is invalid or is corrupt";

/**
Expand Down

0 comments on commit 11159c9

Please sign in to comment.