Skip to content

Commit 23f09e6

Browse files
committed
Fix CS
1 parent 86ae251 commit 23f09e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Filesystem/Watcher/FileChangeWatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function watch($path, callable $callback, float $timeout = null): void
3232
$resource = $this->locator->locate($path);
3333

3434
if (!$resource) {
35-
throw new \InvalidArgumentException(sprintf('%s is not a valid path to watch', \gettype($path)));
35+
throw new \InvalidArgumentException(sprintf('"%s" is not a valid path to watch.', \gettype($path)));
3636
}
3737

3838
$run = true;

src/Symfony/Component/Filesystem/Watcher/INotifyWatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function watch($path, callable $callback, float $timeout = null): void
2525
$inotifyInit = inotify_init();
2626

2727
if (false === $inotifyInit) {
28-
throw new IOException('Unable initialize inotify', 0, null, $path);
28+
throw new IOException('Unable initialize inotify.', 0, null, $path);
2929
}
3030

3131
stream_set_blocking($inotifyInit, false);

0 commit comments

Comments
 (0)