Skip to content

Commit

Permalink
fix projection options #2
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Dec 10, 2016
1 parent aad7170 commit 09aa890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Projection/ProjectionOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function fromArray(array $data): ProjectionOptions
{
self::validateData($data);

return new static($data['cache_size'], $data['persist_block_size']);
return new self($data['cache_size'], $data['persist_block_size']);
}

public function cacheSize(): int
Expand Down

0 comments on commit 09aa890

Please sign in to comment.