1
0
Fork 0

Correct some docblocks

pull/451/head
Felix Becker 2017-11-14 22:36:07 -08:00
parent 7437d30d88
commit b118c77699
1 changed files with 7 additions and 7 deletions

View File

@ -301,12 +301,12 @@ class Index implements ReadableIndex, \Serializable
/** /**
* Splits the given FQN into an array, eg : * Splits the given FQN into an array, eg :
* 'Psr\Log\LoggerInterface->log' will be ['Psr', '\Log', '\LoggerInterface', '->log()'] * - `'Psr\Log\LoggerInterface->log'` will be `['Psr', '\Log', '\LoggerInterface', '->log()']`
* '\Exception->getMessage()' will be ['\Exception', '->getMessage()'] * - `'\Exception->getMessage()'` will be `['\Exception', '->getMessage()']`
* 'PHP_VERSION' will be ['PHP_VERSION'] * - `'PHP_VERSION'` will be `['PHP_VERSION']`
* *
* @param string $fqn * @param string $fqn
* @return array * @return string[]
*/ */
private function splitFqn(string $fqn): array private function splitFqn(string $fqn): array
{ {
@ -360,7 +360,7 @@ class Index implements ReadableIndex, \Serializable
* It can be an index node or a Definition if the $parts are precise * It can be an index node or a Definition if the $parts are precise
* enough. Returns null when nothing is found. * enough. Returns null when nothing is found.
* *
* @param array $parts The splitted FQN * @param string[] $parts The splitted FQN
* @param array &$storage The array in which to store the $definition * @param array &$storage The array in which to store the $definition
* @return array|Definition|null * @return array|Definition|null
*/ */
@ -386,7 +386,7 @@ class Index implements ReadableIndex, \Serializable
* array represented as a tree matching the given $parts. * array represented as a tree matching the given $parts.
* *
* @param int $level The current level of FQN part * @param int $level The current level of FQN part
* @param array $parts The splitted FQN * @param string[] $parts The splitted FQN
* @param array &$storage The array in which to store the $definition * @param array &$storage The array in which to store the $definition
* @param Definition $definition The Definition to store * @param Definition $definition The Definition to store
*/ */
@ -415,7 +415,7 @@ class Index implements ReadableIndex, \Serializable
* in the index. * in the index.
* *
* @param int $level The current level of FQN part * @param int $level The current level of FQN part
* @param array $parts The splitted FQN * @param string[] $parts The splitted FQN
* @param array &$storage The current array in which to remove data * @param array &$storage The current array in which to remove data
* @param array &$rootStorage The root storage array * @param array &$rootStorage The root storage array
*/ */