title: Symfony Entity set all fields nullable by default
body: <p>Is it a right decision to set all getter fields nullable by default like </p>
  
  <pre><code>/**
   * @return int|null
   */
  public function getId(): ?int
  {
      return $this-&gt;id;
  }
  </code></pre>
  
  <p>Explanation for doing it is that you can create entity and call method</p>
  
  <pre><code>$entinty = new Entity();
  $entity-&gt;getId();
  </code></pre>
  
  <p>and it will be fatal error without nullable sign. But why anybody will do such kind of things or there are other side effects?</p>
  
  <p>Is it right thing or overhead?</p>