original_string: protected function getGeneratedProperties(): array
      {
          $reflectionObject = new \ReflectionObject($this);
          $properties = $reflectionObject->getProperties(\ReflectionProperty::IS_PUBLIC);
          $result = [];
          foreach ($properties as $property) {
              if (!$property->isPublic() || @$property->isDefault()) {
                  continue;
              }
  
              $result[] = $property;
          }
  
          return $result;
      }
code: protected function getGeneratedProperties(): array
      {
          $reflectionObject = new \ReflectionObject($this);
          $properties = $reflectionObject->getProperties(\ReflectionProperty::IS_PUBLIC);
          $result = [];
          foreach ($properties as $property) {
              if (!$property->isPublic() || @$property->isDefault()) {
                  continue;
              }
  
              $result[] = $property;
          }
  
          return $result;
      }
code_tokens: protected function getGeneratedProperties ( ) : array { $ reflectionObject = new \ ReflectionObject ( $ this ) ; $ properties = $ reflectionObject -> getProperties ( \ ReflectionProperty :: IS_PUBLIC ) ; $ result = [ ] ; foreach ( $ properties as $ property ) { if ( ! $ property -> isPublic ( ) || @ $ property -> isDefault ( ) ) { continue ; } $ result [ ] = $ property ; } return $ result ; }
docstring: Returns an array of generated public properties.
  
  @return \ReflectionProperty[]
docstring_tokens: Returns an array of generated public properties .