title: Laravel Storage::files() showing dotfiles when it shouldn't
body: <p>I am trying to get a list of all the files in a folder using Laravel's <code>Storage::files('folder')</code> method, but it returns all the files, including .gitkeep</p>
  
  <p>I want to find a way to exclude the dotFiles, and I know that the <code>Storage::files()</code> method has a secondary param that should do exactly that, because it is set by default, here:</p>
  
  <pre><code>public function files($directory, $hidden = false)
  {
      return iterator_to_array(
          Finder::create()-&gt;files()-&gt;ignoreDotFiles(! $hidden)-&gt;in($directory)-&gt;depth(0)-&gt;sortByName(),
          false
      );
  }
  </code></pre>
  
  <p>...but it doesn't seem to for for me! </p>
  
  <p>Did anyone had this issue and can help a man out?
  Thanks in advance!</p>