Passed
Push — master ( abeffc...aa758d )
by Robin
03:21
created
programs/link.class.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
 	 */
78 78
 	public function joinSource($sourceClass)
79 79
 	{
80
-	    if (get_class($this->sourceId) !== $sourceClass . 'Set') {
81
-    	    $this->hasOne('sourceId', $sourceClass . 'Set');
80
+	    if (get_class($this->sourceId) !== $sourceClass.'Set') {
81
+    	    $this->hasOne('sourceId', $sourceClass.'Set');
82 82
     		$this->join('sourceId');
83 83
 	    }
84 84
 	}
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
89 89
 	 */
90 90
 	public function joinTarget($targetClass = null)
91 91
 	{
92
-	    if (get_class($this->targetId) !== $targetClass . 'Set') {
93
-    		$this->hasOne('targetId', $targetClass . 'Set');
92
+	    if (get_class($this->targetId) !== $targetClass.'Set') {
93
+    		$this->hasOne('targetId', $targetClass.'Set');
94 94
     		$this->join('targetId');
95 95
 	    }
96 96
 	}
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
 		}
257 257
 
258 258
 		if ($deleteTarget) {
259
-			foreach($set->select($criteria) as $link) {
259
+			foreach ($set->select($criteria) as $link) {
260 260
 
261 261
 				$className = $link->targetClass.'Set';
262 262
 
Please login to merge, or discard this patch.