Skip to content

Commit b4f0005

Browse files
committed
change exception type
1 parent 168b046 commit b4f0005

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Foundation/ProviderRepository.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Illuminate\Foundation;
44

5+
use Exception;
56
use Illuminate\Filesystem\Filesystem;
6-
use Illuminate\Contracts\Filesystem\FileNotFoundException;
77
use Illuminate\Contracts\Foundation\Application as ApplicationContract;
88

99
class ProviderRepository
@@ -181,12 +181,12 @@ protected function freshManifest(array $providers)
181181
*
182182
* @param array $manifest
183183
* @return array
184-
* @throws FileNotFoundException
184+
* @throws Exception
185185
*/
186186
public function writeManifest($manifest)
187187
{
188188
if (! is_writable(dirname($this->manifestPath))) {
189-
throw new FileNotFoundException('The bootstrap/cache directory must be present and writable.');
189+
throw new Exception('The bootstrap/cache directory must be present and writable.');
190190
}
191191

192192
$this->files->put(

0 commit comments

Comments
 (0)