Skip to content

Commit

Permalink
Update Picture.php
Browse files Browse the repository at this point in the history
Fixed typehint.
  • Loading branch information
MichaelPavlista authored Nov 18, 2020
1 parent 22a94d5 commit d9462fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Picture.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Picture
/** @const picture generation worker (GD extension) */
const WORKER_GD = 'gd';

/** @var string picture generation worker */
/** @var string|null picture generation worker */
protected $worker;

/** @var string path to source image file */
Expand Down Expand Up @@ -63,8 +63,8 @@ class Picture
* Picture constructor.
* @param string $image
* @param IPictureGenerator|NULL $pictureGenerator
* @param null $worker worker constant
* @param null|string $fallbackImage absolute path to image witch can be used when source image is missing
* @param string|null $worker worker constant
* @param string|null $fallbackImage absolute path to image witch can be used when source image is missing
* @throws Exception
*/
public function __construct($image, IPictureGenerator $pictureGenerator = NULL, $worker = NULL, $fallbackImage = NULL)
Expand Down

0 comments on commit d9462fe

Please sign in to comment.