We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e618a4a commit a786509Copy full SHA for a786509
src/Capture.php
@@ -518,7 +518,7 @@ public function setDelay($delay)
518
*/
519
public function includeJs($script)
520
{
521
- if (is_a($script, Url::class)) {
+ if ($script instanceof Url) {
522
$this->includedJsScripts[] = $script;
523
} else {
524
$this->includedJsSnippets[] = $script;
src/Image/Types.php
@@ -9,8 +9,8 @@
9
class Types
10
11
protected static $typesMap = array(
12
- Jpg::FORMAT => Jpg::class,
13
- Png::FORMAT => Png::class,
+ Jpg::FORMAT => 'Screen\Image\Types\Jpg',
+ Png::FORMAT => 'Screen\Image\Types\Png',
14
);
15
16
/**
0 commit comments