Skip to content

Commit

Permalink
Marked parseConstructorParameter method as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarystepkowski committed May 30, 2018
1 parent 057e222 commit 1244faa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -376,6 +376,9 @@ protected function instantiateObject(array &$data, $class, array &$context, \Ref
return new $class();
}

/**
* @internal
*/
protected function parseConstructorParameter(array &$data, $key, array &$context, \ReflectionParameter $constructorParameter, $format)
{
$parameterData = $data[$key];
Expand Down
Expand Up @@ -143,6 +143,9 @@ protected function instantiateObject(array &$data, $class, array &$context, \Ref
return parent::instantiateObject($data, $class, $context, $reflectionClass, $allowedAttributes, $format);
}

/**
* @internal
*/
protected function parseConstructorParameter(array &$data, $key, array &$context, \ReflectionParameter $constructorParameter, $format)
{
if (false === $constructorParameter->hasType() || true === $constructorParameter->getType()->isBuiltin()) {
Expand Down

0 comments on commit 1244faa

Please sign in to comment.