Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'weierophinney/feature/pluginloader-remo…
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,10 @@ class Paginator implements Countable, IteratorAggregate
*
* @param mixed $data
* @param string $adapter
* @param array $prefixPaths
* @throws Exception\InvalidArgumentException
* @return Paginator
*/
public static function factory($data, $adapter = self::INTERNAL_ADAPTER,
array $prefixPaths = null)
public static function factory($data, $adapter = self::INTERNAL_ADAPTER)
{
if ($data instanceof AdapterAggregateInterface) {
return new self($data->getPaginatorAdapter());
Expand Down

0 comments on commit a35c230

Please sign in to comment.