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/Stack_Trace.php +2 -2 3.33 → 3.37 View file →
@@ -6,9 +6,9 @@
6 6 use Photonic_Plugin\Layouts\Core_Layout;
7 7 use Photonic_Plugin\Platforms\Base;
8 8
9 9 class Stack_Trace implements Printable {
10 - public $events = [];
10 + public array $events = [];
11 11
12 12 public function add_to_first_open_event($new_event) {
13 13 $found = false;
14 14 foreach ($this->events as $id => $event) {
@@ -82,9 +82,9 @@
82 82 return $ret;
83 83 }
84 84
85 85
86 - public function html(Base $module, ?Core_Layout $layout = null, $print = false): string {
86 + public function html(Base $module, ?Core_Layout $layout, bool $print = false): string {
87 87 $ret = "<!--\n";
88 88 $ret .= "Stats for Platform: {$module->provider}, Gallery: {$module->gallery_index}, Library: {$layout->get_library()}\n";
89 89 $ret .= $this->get_nested_element();
90 90 $ret .= "-->\n";