Applied fixes from StyleCI

This commit is contained in:
Phan An 2016-02-04 10:48:15 -05:00 committed by StyleCI Bot
parent 4c90c35c28
commit 39d726c5ec
3 changed files with 5 additions and 5 deletions

View file

@ -42,7 +42,7 @@ class FSWatchRecord
* Determine if the event is valid to Koel. * Determine if the event is valid to Koel.
* We only watch Created, Removed, Renamed, and Updated events. * We only watch Created, Removed, Renamed, and Updated events.
* *
* @return boolean * @return bool
*/ */
public function isValidEvent() public function isValidEvent()
{ {
@ -61,7 +61,7 @@ class FSWatchRecord
* For example, deleting on OSX will be reported as "Renamed", as * For example, deleting on OSX will be reported as "Renamed", as
* the file/directory is "renamed" into the Trash folder. * the file/directory is "renamed" into the Trash folder.
* *
* @return boolean * @return bool
*/ */
public function isDeleted() public function isDeleted()
{ {

View file

@ -18,7 +18,7 @@ class InotifyWatchRecord extends WatchRecord implements WatchRecordInterface
/** /**
* Parse the inotifywait's output. The inotifywait command should be something like: * Parse the inotifywait's output. The inotifywait command should be something like:
* $ inotifywait -rme move,close_write,delete --format "%e %w%f" $MEDIA_PATH * $ inotifywait -rme move,close_write,delete --format "%e %w%f" $MEDIA_PATH.
* *
* @param $string string The output string. * @param $string string The output string.
*/ */

View file

@ -3,18 +3,18 @@
namespace App\Services; namespace App\Services;
use App\Console\Commands\SyncMedia; use App\Console\Commands\SyncMedia;
use App\Events\LibraryChanged;
use App\Libraries\WatchRecord\WatchRecordInterface; use App\Libraries\WatchRecord\WatchRecordInterface;
use App\Models\Album; use App\Models\Album;
use App\Models\Artist; use App\Models\Artist;
use App\Models\Setting; use App\Models\Setting;
use App\Models\Song; use App\Models\Song;
use App\Events\LibraryChanged;
use Exception; use Exception;
use getID3; use getID3;
use getid3_lib; use getid3_lib;
use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Log;
use Symfony\Component\Finder\Finder;
use SplFileInfo; use SplFileInfo;
use Symfony\Component\Finder\Finder;
class Media class Media
{ {