File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ interface ArchiveHandlerInterface
24
24
* Return the actual entry in the archive at the current entry pointer.
25
25
*
26
26
* @param int $Bytes Optionally, how many bytes to read from the entry.
27
- * @return string The entry's content or an empty string.
27
+ * @return string The entry's content, or an empty string if not available .
28
28
*/
29
- public function EntryRead (int $ Bytes = -1 );
29
+ public function EntryRead (int $ Bytes = -1 ): string ;
30
30
31
31
/**
32
32
* Return the compressed size of the entry at the current entry pointer.
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ public function __construct(string $File)
332
332
* Return the actual entry in the archive at the current entry pointer.
333
333
*
334
334
* @param int $Bytes Optionally, how many bytes to read from the entry.
335
- * @return string The entry's content or an empty string.
335
+ * @return string The entry's content, or an empty string if not available .
336
336
*/
337
337
public function EntryRead (int $ Bytes = -1 ): string
338
338
{
Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ public function __destruct()
76
76
* Return the actual entry in the archive at the current entry pointer.
77
77
*
78
78
* @param int $Bytes Optionally, how many bytes to read from the entry.
79
- * @return string The entry's content or an empty string.
79
+ * @return string The entry's content, or an empty string if not available .
80
80
*/
81
- public function EntryRead (int $ Bytes = -1 )
81
+ public function EntryRead (int $ Bytes = -1 ): string
82
82
{
83
83
$ Actual = $ this ->EntryActualSize ();
84
84
if ($ Bytes < 0 || $ Bytes > $ Actual ) {
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ public function __construct($File)
63
63
* Return the actual entry in the archive at the current entry pointer.
64
64
*
65
65
* @param int $Bytes Optionally, how many bytes to read from the entry.
66
- * @return string The entry's content or an empty string.
66
+ * @return string The entry's content, or an empty string if not available .
67
67
*/
68
- public function EntryRead (int $ Bytes = -1 )
68
+ public function EntryRead (int $ Bytes = -1 ): string
69
69
{
70
70
$ Actual = $ this ->EntryActualSize ();
71
71
if ($ Bytes < 0 || $ Bytes > $ Actual ) {
Original file line number Diff line number Diff line change @@ -80,9 +80,9 @@ public function __destruct()
80
80
* Return the actual entry in the archive at the current entry pointer.
81
81
*
82
82
* @param int $Bytes Optionally, how many bytes to read from the entry.
83
- * @return string The entry's content or an empty string.
83
+ * @return string The entry's content, or an empty string if not available .
84
84
*/
85
- public function EntryRead (int $ Bytes = -1 )
85
+ public function EntryRead (int $ Bytes = -1 ): string
86
86
{
87
87
$ Actual = $ this ->EntryActualSize ();
88
88
if ($ Bytes < 0 || $ Bytes > $ Actual ) {
You can’t perform that action at this time.
0 commit comments