PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 3.37
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v3.37
3.37 3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 All 142 releases
← All changes | Components/Photo_List.php +8 -8 3.33 → 3.37 View file →
@@ -9,20 +9,20 @@
9 9 require_once 'Header.php';
10 10 require_once 'Pagination.php';
11 11
12 12 class Photo_List implements Printable {
13 - public $photos = [];
13 + public array $photos = [];
14 14
15 - public $title_position;
16 - public $row_constraints = [];
17 - public $parent = 'stream';
18 - public $indent = "\t";
19 - public $short_code = [];
15 + public string $title_position = 'tooltip';
16 + public array $row_constraints = [];
17 + public string $parent = 'stream';
18 + public string $indent = "\t";
19 + public array $short_code = [];
20 20
21 21 /**
22 22 * @var Pagination $pagination
23 23 */
24 - public $pagination;
24 + public Pagination $pagination;
25 25
26 26 public function __construct(array $short_code) {
27 27 $this->short_code = $short_code;
28 28 $this->pagination = new Pagination();
@@ -31,9 +31,9 @@
31 31 private function custom_sort(Base $module) {
32 32 $this->photos = apply_filters('photonic_custom_sort_photos', $this->photos, $module->provider);
33 33 }
34 34
35 - public function html(Base $module, Core_Layout $layout, $print = false): string {
35 + public function html(Base $module, Core_Layout $layout, bool $print = false): string {
36 36 $ret = '';
37 37
38 38 $this->custom_sort($module);
39 39