Issues (114)

src/Foundation/FileSystem.php (1 issue)

1
<?php
2
3
namespace Maestriam\Samurai\Foundation;
4
5
use Illuminate\Support\Facades\Artisan;
6
7
class FileSystem
8
{
9
    /**
10
     * Limpa o cache do projeto
11
     *
12
     * @return void
13
     */
14
    public function clearCache()
15
    {
16
        Artisan::call('view:clear');
17
        Artisan::call('cache:clear');
18
19
        return true;
0 ignored issues
show
Bug Best Practice introduced by
The expression return true returns the type true which is incompatible with the documented return type void.
Loading history...
20
    }
21
}
22