Skip to content

Commit

Permalink
Revert "Static Random Support Added"
Browse files Browse the repository at this point in the history
This reverts commit 9a81f42.
  • Loading branch information
h3xexe committed Jul 3, 2020
1 parent 389fff1 commit 0071f50
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/PicsumProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ public static function picsumUrl($width = 640, $height = 480, $id = null, $rando
$baseUrl = 'https://picsum.photos/';
$url = '';
if ($id) {
$url = 'id/' . $id . '/';
}
if (!$id && !$randomize){
$url = 'seed/'.uniqid().'/';
$url = 'id/' . $id;
}
$url .= "{$width}/{$height}";

Expand Down

0 comments on commit 0071f50

Please sign in to comment.