Skip to content

Commit c5e1efc

Browse files
committed
Make getSize() more explicitly an alias of getColumnCount().
1 parent 08de0a7 commit c5e1efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function toArray(): array
3737
*/
3838
public function getSize(): int
3939
{
40-
return count($this->internal[0]);
40+
return $this->getColumnCount();
4141
}
4242

4343
/**

0 commit comments

Comments
 (0)