Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[#2718] CS fixes

- Remove leading/trailing space inside method argument lists.
  • Loading branch information...
commit 5c9914efd136ee3fe40a8a4fae91cdab890e65a4 1 parent f5911e3
@weierophinney weierophinney authored
View
6 library/Zend/Authentication/Storage/Chain.php
@@ -41,7 +41,7 @@ public function __construct()
* @param StorageInterface $storage
* @param integer $priority
*/
- public function add( StorageInterface $storage, $priority = 1 )
+ public function add(StorageInterface $storage, $priority = 1)
{
$this->storageChain->insert($storage, $priority);
}
@@ -63,7 +63,7 @@ public function isEmpty()
// Loop invariant: $storageWithHigherPriority contains all storage with higher priorty
// than the current one.
foreach ($this->storageChain as $storage) {
- if ( $storage->isEmpty() ) {
+ if ($storage->isEmpty()) {
$storageWithHigherPriority[] = $storage;
continue;
}
@@ -95,7 +95,7 @@ public function read()
*
* @see StorageInterface::write()
*/
- public function write( $contents )
+ public function write($contents)
{
foreach ($this->storageChain as $storage) {
$storage->write($contents);
View
2  tests/ZendTest/Authentication/Storage/ChainTest.php
@@ -137,7 +137,7 @@ public function testSuccessfullReadWillPopulateStoragesWithHigherPriority()
* @param mixed $identity
* @return StorageInterface
*/
- protected function storageFactory( $identity = null )
+ protected function storageFactory($identity = null)
{
$storage = new NonPersistent();
Please sign in to comment.
Something went wrong with that request. Please try again.