Skip to content

Commit

Permalink
Merge branch '1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
davedevelopment committed Feb 24, 2021
2 parents 4198c03 + dd9d724 commit 1dadfa2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ phpunit.xml
docs/api
phpDocumentor.phar*
.phpunit.result.cache
.phpdoc
.phpdoc/
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ test: deps
apidocs: docs/api/index.html

phpDocumentor.phar:
wget https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0-rc/phpDocumentor.phar
wget https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0-rc/phpDocumentor.phar.asc
wget https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0/phpDocumentor.phar
wget https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0/phpDocumentor.phar.asc

library_files=$(shell find library -name '*.php')
docs/api/index.html: vendor/composer/installed.json $(library_files) phpDocumentor.phar
Expand Down
2 changes: 1 addition & 1 deletion library/Mockery.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public static function close()
*/
public static function fetchMock($name)
{
return self::$_container->fetchMock($name);
return self::getContainer()->fetchMock($name);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions library/Mockery/LegacyMockInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function makePartial();

/**
* @param null|string $method
* @param null $args
* @param null|array|Closure $args
* @return mixed
*/
public function shouldHaveReceived($method, $args = null);
Expand All @@ -96,7 +96,7 @@ public function shouldHaveBeenCalled();

/**
* @param null|string $method
* @param null $args
* @param null|array|Closure $args
* @return mixed
*/
public function shouldNotHaveReceived($method, $args = null);
Expand Down

0 comments on commit 1dadfa2

Please sign in to comment.