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

Commit

Permalink
Merge branch 'cs/psr-2' of https://github.com/Maks3w/zf2
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 48 deletions.
32 changes: 16 additions & 16 deletions src/Storage/Adapter/ApcIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ public function setMode($mode)

/* Iterator */

/**
* Get current key, value or metadata.
*
* @return mixed
/**
* Get current key, value or metadata.
*
* @return mixed
*/
public function current()
{
Expand All @@ -120,10 +120,10 @@ public function current()
return $key;
}

/**
* Get current key
*
* @return string
/**
* Get current key
*
* @return string
*/
public function key()
{
Expand All @@ -143,20 +143,20 @@ public function next()
$this->baseIterator->next();
}

/**
* Checks if current position is valid
*
* @return boolean
/**
* Checks if current position is valid
*
* @return boolean
*/
public function valid()
{
return $this->baseIterator->valid();
}

/**
* Rewind the Iterator to the first element.
*
* @return void
/**
* Rewind the Iterator to the first element.
*
* @return void
*/
public function rewind()
{
Expand Down
32 changes: 16 additions & 16 deletions src/Storage/Adapter/FilesystemIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ public function setMode($mode)

/* Iterator */

/**
* Get current key, value or metadata.
*
* @return mixed
/**
* Get current key, value or metadata.
*
* @return mixed
*/
public function current()
{
Expand All @@ -128,10 +128,10 @@ public function current()
return $key;
}

/**
* Get current key
*
* @return string
/**
* Get current key
*
* @return string
*/
public function key()
{
Expand All @@ -151,10 +151,10 @@ public function next()
$this->globIterator->next();
}

/**
* Checks if current position is valid
*
* @return boolean
/**
* Checks if current position is valid
*
* @return boolean
*/
public function valid()
{
Expand All @@ -168,10 +168,10 @@ public function valid()
}
}

/**
* Rewind the Iterator to the first element.
*
* @return void
/**
* Rewind the Iterator to the first element.
*
* @return void
*/
public function rewind()
{
Expand Down
32 changes: 16 additions & 16 deletions src/Storage/Adapter/KeyListIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ public function setMode($mode)
return $this;
}

/**
* Get current key, value or metadata.
*
* @return mixed
/**
* Get current key, value or metadata.
*
* @return mixed
*/
public function current()
{
Expand All @@ -125,20 +125,20 @@ public function current()
return $key;
}

/**
* Get current key
*
* @return string
/**
* Get current key
*
* @return string
*/
public function key()
{
return $this->keys[$this->position];
}

/**
* Checks if current position is valid
*
* @return boolean
/**
* Checks if current position is valid
*
* @return boolean
*/
public function valid()
{
Expand All @@ -155,10 +155,10 @@ public function next()
$this->position++;
}

/**
* Rewind the Iterator to the first element.
*
* @return void
/**
* Rewind the Iterator to the first element.
*
* @return void
*/
public function rewind()
{
Expand Down

0 comments on commit 9852497

Please sign in to comment.