Browse Source

Drop duplicate method.

It's already provided by CollectionTrait.
ADmad 3 years ago
parent
commit
8d2c9bb89f
1 changed files with 0 additions and 10 deletions
  1. 0 10
      src/Collection/Collection.php

+ 0 - 10
src/Collection/Collection.php

@@ -67,16 +67,6 @@ class Collection extends IteratorIterator implements CollectionInterface
     }
 
     /**
-     * {@inheritDoc}
-     *
-     * @return int
-     */
-    public function countKeys(): int
-    {
-        return count($this->toArray());
-    }
-
-    /**
      * Returns an array that can be used to describe the internal state of this
      * object.
      *