mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 17:19:50 +02:00
Add tests for PNG indexed options
This commit is contained in:
@@ -25,7 +25,7 @@ abstract class BaseTestCase extends MockeryTestCase
|
||||
return file_get_contents(self::getTestResourcePath($filename));
|
||||
}
|
||||
|
||||
public function getTestResourcePointer($filename = 'test.jpg')
|
||||
public static function getTestResourcePointer($filename = 'test.jpg')
|
||||
{
|
||||
$pointer = fopen('php://temp', 'rw');
|
||||
fputs($pointer, self::getTestResourceData($filename));
|
||||
|
Reference in New Issue
Block a user