original_string: protected function getModeratedByAttributeValue(): ?int
      {
          $user = Yii::$app->get('user', false);
  
          return $user && !$user->isGuest ? $user->id : null;
      }
code: protected function getModeratedByAttributeValue(): ?int
      {
          $user = Yii::$app->get('user', false);
  
          return $user && !$user->isGuest ? $user->id : null;
      }
code_tokens: protected function getModeratedByAttributeValue ( ) : ? int { $ user = Yii :: $ app -> get ( 'user' , false ) ; return $ user && ! $ user -> isGuest ? $ user -> id : null ; }
docstring: Get value for `moderatedByAttribute`
  
  @return int|null
docstring_tokens: Get value for moderatedByAttribute