Skip to content

Commit d56e659

Browse files
committed
update code to work for php5
1 parent 30c44a6 commit d56e659

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Commands/ShowCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private function tableRows()
127127
*
128128
* @return array
129129
*/
130-
private function filesFromKey(): array
130+
private function filesFromKey()
131131
{
132132
try {
133133
return $this->manager->files()[$this->file];

src/Commands/TransCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private function parseKey()
112112
*
113113
* @return array
114114
*/
115-
private function filesFromKey(): array
115+
private function filesFromKey()
116116
{
117117
try {
118118
return $this->manager->files()[$this->fileName];

src/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(Filesystem $disk, string $path, array $viewsPaths)
4949
*
5050
* @return array
5151
*/
52-
public function files(): array
52+
public function files()
5353
{
5454
$files = Collection::make($this->disk->allFiles($this->path));
5555

0 commit comments

Comments
 (0)