title: css mime type return as text/plain rather than text/css
body: <p>I am using this code to get the mime type from a given file</p>
  
  <pre><code>$finfo = new \finfo(FILEINFO_MIME_TYPE);
  $mime  = $finfo-&gt;buffer(file_get_contents($file));
  </code></pre>
  
  <p>If I feed it a PHP file then I get</p>
  
  <pre><code>text/x-php
  </code></pre>
  
  <p>but if I feed it a CSS file I get</p>
  
  <pre><code>text/plain
  </code></pre>
  
  <p>I have been trying to solve this issue to no avail, I have AddType in my Apache to allow for CSS file types.</p>
  
  <p>Anyone have any suggestions?</p>