Skip to content

Commit 32fb3a6

Browse files
author
cradu
committed
phpstan fixes
1 parent c76baed commit 32fb3a6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/Descriptor/Boot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public function init(IsoFile $isoFile, int &$offset): void
3737
$this->bootCatalogLocation = Buffer::readLSB($this->bytes, 4, $offset);
3838

3939
// free some space...
40-
unset($this->bytes);
40+
$this->bytes = null;
4141
}
4242
}

src/Descriptor/Partition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function init(IsoFile $isoFile, int &$offset): void
5050
$this->volPartitionSize = Buffer::readMSB($this->bytes, 8, $offset);
5151

5252
// free some space...
53-
unset($this->bytes);
53+
$this->bytes = null;
5454
unset($unused);
5555
}
5656
}

src/Descriptor/Terminator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ class Terminator extends Descriptor
1515
public function init(IsoFile $isoFile, int &$offset): void
1616
{
1717
// free some space...
18-
unset($this->bytes);
18+
$this->bytes = null;
1919
}
2020
}

src/Descriptor/UdfDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ public function init(IsoFile $isoFile, int &$offset): void
1414
// TODO - add UDF processing
1515

1616
// free some space...
17-
unset($this->bytes);
17+
$this->bytes = null;
1818
}
1919
}

src/Descriptor/Volume.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function init(IsoFile $isoFile, int &$offset): void
116116
$offset++;
117117

118118
// free some space...
119-
unset($this->bytes);
119+
$this->bytes = null;
120120
unset($unused);
121121
}
122122

0 commit comments

Comments
 (0)