protected function expect(array $types) { foreach ($this->lookUp($types) as $token) { return $token; } return null; }