← All changes
|
includes/sdk/google/google/cloud-storage/src/ObjectIterator.php
+5
-3
1.2.0
→
1.4.1
View file →
| @@ -14,15 +14,17 @@ | ||
| 14 | 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | 15 | * See the License for the specific language governing permissions and |
| 16 | 16 | * limitations under the License. |
| 17 | 17 | */ |
| 18 | -namespace Dudlewebs\WPMCS\Google\Cloud\Storage; | |
| 18 | +namespace Dudlewebs\WPMCS\GCP\Google\Cloud\Storage; | |
| 19 | 19 | |
| 20 | -use Dudlewebs\WPMCS\Google\Cloud\Core\Iterator\ItemIteratorTrait; | |
| 20 | +use Dudlewebs\WPMCS\GCP\Google\Cloud\Core\Iterator\ItemIteratorTrait; | |
| 21 | 21 | /** |
| 22 | 22 | * ObjectIterator |
| 23 | 23 | * |
| 24 | 24 | * Iterates over a set of {@see StorageObject} items. |
| 25 | + * | |
| 26 | + * @implements \Iterator<int, StorageObject> | |
| 25 | 27 | */ |
| 26 | 28 | class ObjectIterator implements \Iterator |
| 27 | 29 | { |
| 28 | 30 | use ItemIteratorTrait; |
| @@ -33,7 +35,7 @@ | ||
| 33 | 35 | * @return array |
| 34 | 36 | */ |
| 35 | 37 | public function prefixes() |
| 36 | 38 | { |
| 37 | - return method_exists($this->pageIterator, 'prefixes') ? $this->pageIterator->prefixes() : []; | |
| 39 | + return \method_exists($this->pageIterator, 'prefixes') ? $this->pageIterator->prefixes() : []; | |
| 38 | 40 | } |
| 39 | 41 | } |