Skip to content

Commit 0aa348e

Browse files
Cleanup more @return annotations
1 parent d5ca5f7 commit 0aa348e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Exception/IOExceptionInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface IOExceptionInterface extends ExceptionInterface
2121
/**
2222
* Returns the associated path for the exception.
2323
*
24-
* @return string|null The path
24+
* @return string|null
2525
*/
2626
public function getPath();
2727
}

Filesystem.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function mkdir($dirs, int $mode = 0777)
104104
*
105105
* @param string|iterable $files A filename, an array of files, or a \Traversable instance to check
106106
*
107-
* @return bool true if the file exists, false otherwise
107+
* @return bool
108108
*/
109109
public function exists($files)
110110
{
@@ -440,7 +440,7 @@ public function readlink(string $path, bool $canonicalize = false)
440440
/**
441441
* Given an existing path, convert it to a path relative to a given starting path.
442442
*
443-
* @return string Path of target relative to starting path
443+
* @return string
444444
*/
445445
public function makePathRelative(string $endPath, string $startPath)
446446
{

Tests/Fixtures/MockStream/MockStream.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function stream_open(string $path, string $mode, int $options, string &$o
3535
* @param string $path The file path or URL to stat
3636
* @param int $flags Holds additional flags set by the streams API
3737
*
38-
* @return array File stats
38+
* @return array
3939
*/
4040
public function url_stat(string $path, int $flags): array
4141
{

0 commit comments

Comments
 (0)