File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ abstract class AbstractFunction implements IFunction
4141
4242 /**
4343 * Initialize this class with a connection instance and the function name.
44- * @param mixed $connection Referenced connection ressource.
44+ * @param mixed $connection Connection ressource/class
4545 * @param string $name
4646 */
47- public function __construct (& $ connection , $ name )
47+ public function __construct ($ connection , $ name )
4848 {
49- $ this ->connection = & $ connection ;
49+ $ this ->connection = $ connection ;
5050 $ this ->name = $ name ;
5151 $ this ->reset ();
5252 }
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ public function invoke($params = null)
104104 * @throws \phpsap\interfaces\exceptions\IConnectionFailedException
105105 * @throws \phpsap\interfaces\exceptions\IUnknownFunctionException
106106 */
107- protected function & getFunction ()
107+ protected function getFunction ()
108108 {
109109 if ($ this ->function === null ) {
110110 //now connect and prepare the function
You can’t perform that action at this time.
0 commit comments