We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6137b7d commit 09589ccCopy full SHA for 09589cc
src/FontLib/TrueType/Collection.php
@@ -69,28 +69,34 @@ function getFont($fontId) {
69
return $this->collection[$fontId] = $font;
70
}
71
72
+ #[\ReturnTypeWillChange]
73
function current() {
74
return $this->getFont($this->position);
75
76
77
78
function key() {
79
return $this->position;
80
81
82
83
function next() {
84
return ++$this->position;
85
86
87
88
function rewind() {
89
$this->position = 0;
90
91
92
93
function valid() {
94
$this->parse();
95
96
return isset($this->collectionOffsets[$this->position]);
97
98
99
100
function count() {
101
102
0 commit comments