original_string: public function getParam(string $key)
      {
          $isActionParam = in_array($key, [self::PARAM_CONTROLLER, self::PARAM_ACTION]);
          $params = $isActionParam ? $this->actionParams: $this->params;
          return array_key_exists($key, $params) ? $params[$key] : null;
      }
code: public function getParam(string $key)
      {
          $isActionParam = in_array($key, [self::PARAM_CONTROLLER, self::PARAM_ACTION]);
          $params = $isActionParam ? $this->actionParams: $this->params;
          return array_key_exists($key, $params) ? $params[$key] : null;
      }
code_tokens: public function getParam ( string $ key ) { $ isActionParam = in_array ( $ key , [ self :: PARAM_CONTROLLER , self :: PARAM_ACTION ] ) ; $ params = $ isActionParam ? $ this -> actionParams : $ this -> params ; return array_key_exists ( $ key , $ params ) ? $ params [ $ key ] : null ; }
docstring: Get param value. Get action param if key = controller or action
  @param string $key
  @return string|null
docstring_tokens: Get param value . Get action param if key = controller or action