@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | $this->restoreNl(strval($headData[0])), |
49 | 49 | $this->restoreNl(strval($headData[2])), |
50 | 50 | $this->restoreNl(strval($headData[3])), |
51 | - (int)$headData[1] |
|
51 | + (int) $headData[1] |
|
52 | 52 | ); |
53 | 53 | } |
54 | 54 | |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | $this->restoreNl(strval($data[0])), |
75 | 75 | $this->restoreNl(strval($data[2])), |
76 | 76 | $this->restoreNl(strval($data[3])), |
77 | - (int)$data[1], |
|
77 | + (int) $data[1], |
|
78 | 78 | boolval(intval($data[4])) |
79 | 79 | ); |
80 | 80 | $menu->addItem($item); |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | public function pack(Menu $menu): string |
85 | 85 | { |
86 | 86 | $content = []; |
87 | - $content[] = implode(Interfaces\IMenu::SEPARATOR, [ // header |
|
87 | + $content[] = implode(Interfaces\IMenu::SEPARATOR, [// header |
|
88 | 88 | $this->escapeNl($menu->getFile()), |
89 | 89 | $menu->getDisplayCount(), |
90 | 90 | $this->escapeNl($menu->getName()), |
@@ -42,7 +42,7 @@ |
||
42 | 42 | $this->assertTrue($lib->exists()); |
43 | 43 | $lib->load(); |
44 | 44 | $lib->setKey('copy.meta'); |
45 | - $lib->rearrangePositions([ // file => new position |
|
45 | + $lib->rearrangePositions([// file => new position |
|
46 | 46 | 'dummy4.htm' => 3, |
47 | 47 | 'dummy2.htm' => 4, |
48 | 48 | ]); |