Skip to content

Commit

Permalink
ID#323: removed unnecessary & signs in method declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Achatz committed Apr 28, 2018
1 parent e3f39a3 commit 4069858
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion core/frontcontroller/FrontControllerActionParameters.php
Expand Up @@ -51,7 +51,7 @@ public function getAction() {
}

public function setAction(Action $action) {
$this->action = &$action;
$this->action = $action;
}

public function setParameter(string $name, string $value) {
Expand Down
4 changes: 2 additions & 2 deletions modules/genericormapper/data/GenericDomainObject.php
Expand Up @@ -209,8 +209,8 @@ public function getDataComponent() {
* @version
* Version 0.1, 11.10.2009<br />
*/
public function setDataComponent(GenericORRelationMapper &$orm) {
$this->dataComponent = &$orm;
public function setDataComponent(GenericORRelationMapper $orm) {
$this->dataComponent = $orm;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion modules/genericormapper/data/GenericORMapperDataObject.php
Expand Up @@ -43,7 +43,7 @@ public function setObjectId($id);
/**
* @param GenericORRelationMapper $orm The instance of the o/r mapper to use.
*/
public function setDataComponent(GenericORRelationMapper &$orm);
public function setDataComponent(GenericORRelationMapper $orm);

/**
* @return GenericORRelationMapper The instance of the o/r mapper.
Expand Down
4 changes: 2 additions & 2 deletions modules/usermanagement/biz/UmgtManager.php
Expand Up @@ -200,8 +200,8 @@ public function __sleep() {
* @version
* Version 0.1, 25.08.2011<br />
*/
public function setORMapper(GenericORRelationMapper &$orm) {
$this->orm = &$orm;
public function setORMapper(GenericORRelationMapper $orm) {
$this->orm = $orm;
}

/**
Expand Down

0 comments on commit 4069858

Please sign in to comment.