forked from Cavemanon/cavepaintings
format
This commit is contained in:
@@ -17,7 +17,7 @@ class RandomImage extends Extension
|
||||
throw new SCoreException("Error: too many arguments.");
|
||||
}
|
||||
$image = Image::by_random($search_terms);
|
||||
if(!$image) {
|
||||
if (!$image) {
|
||||
throw new SCoreException(
|
||||
"Couldn't find any images randomly",
|
||||
Tag::implode($search_terms)
|
||||
|
@@ -1,5 +1,7 @@
|
||||
<?php declare(strict_types=1);
|
||||
use function MicroHTML\{DIV,A,IMG};
|
||||
use function MicroHTML\DIV;
|
||||
use function MicroHTML\A;
|
||||
use function MicroHTML\IMG;
|
||||
|
||||
class RandomImageTheme extends Themelet
|
||||
{
|
||||
|
Reference in New Issue
Block a user