Skip to content

Commit

Permalink
fix various type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
mikey179 committed Mar 5, 2020
1 parent 8f117f5 commit 10d70c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/StreamWrapper.php
Expand Up @@ -111,7 +111,7 @@ class StreamWrapper
/**
* shortcut to file container
*
* @type vfsStreamFile
* @type vfsFile
*/
protected $content;
/**
Expand Down
4 changes: 2 additions & 2 deletions src/vfsFile.php
Expand Up @@ -91,7 +91,7 @@ public function appliesTo($name)
* alias for withContent()
*
* @param string $content
* @return vfsStreamFile
* @return vfsFile
* @see withContent()
*/
public function setContent($content)
Expand All @@ -106,7 +106,7 @@ public function setContent($content)
* was last modified.
*
* @param string]FileContent $content
* @return vfsStreamFile
* @return vfsFile
* @throws \InvalidArgumentException
*/
public function withContent($content)
Expand Down
6 changes: 3 additions & 3 deletions tests/phpunit/vfsStreamWrapperBaseTestCase.php
Expand Up @@ -12,7 +12,7 @@

use bovigo\vfs\vfsStream;
use bovigo\vfs\vfsDirectory;
use bovigo\vfs\vfsStreamFile;
use bovigo\vfs\vfsFile;
use bovigo\vfs\StreamWrapper;
use PHPUnit\Framework\TestCase;

Expand Down Expand Up @@ -48,7 +48,7 @@ abstract class vfsStreamWrapperBaseTestCase extends \BC_PHPUnit_Framework_TestCa
/**
* a file
*
* @var vfsStreamFile
* @var vfsFile
*/
protected $baz1;
/**
Expand All @@ -60,7 +60,7 @@ abstract class vfsStreamWrapperBaseTestCase extends \BC_PHPUnit_Framework_TestCa
/**
* another file
*
* @var vfsStreamFile
* @var vfsFile
*/
protected $baz2;
/**
Expand Down

0 comments on commit 10d70c5

Please sign in to comment.