protected function parseCallableDeclarationAddition($callable) { $this->consumeComments(); if (Tokens::T_COLON != $this->tokenizer->peek()) { return $callable; } $this->consumeToken(Tokens::T_COLON); $type = $this->parseReturnTypeHint(); $callable->addChild($type); return $callable; }