Skip to content

Commit 15c3a77

Browse files
committed
Psr implementation
1 parent 9f8c807 commit 15c3a77

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public function read( $useIncludePath = false, $context = null )
329329
*
330330
* @param string|null $filePath
331331
* @param string $mode
332-
* @return string
332+
* @return resource
333333
*/
334334
public function create( $filePath = null, $mode = 'wb' )
335335
{

src/Files/Abstracts/AbstractFile.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@
1414

1515
// ------------------------------------------------------------------------
1616

17-
use O2System\Filesystem\File;
18-
use O2System\Psr\Patterns\AbstractDataStoragePattern;
17+
use O2System\Psr\Patterns\Structural\Repository\AbstractRepository;
1918

2019
/**
2120
* Class AbstractFile
2221
*
2322
* @package O2System\Filesystem\Files\Abstracts
2423
*/
25-
abstract class AbstractFile extends AbstractDataStoragePattern
24+
abstract class AbstractFile extends AbstractRepository
2625
{
2726
/**
2827
* AbstractFile::$fileExtension

0 commit comments

Comments
 (0)