Passed
Push — MOODLE_35_STABLE ( 61b49b )
by Roberto
06:41
created
lib.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
             'relationship',
270 270
             $relationship->id,
271 271
             context::instance_by_id($relationship->contextid),
272
-            $relationship->tags) ;
272
+            $relationship->tags);
273 273
 
274 274
         $event = \local_relationship\event\relationship_created::create(array(
275 275
                 'context' => context::instance_by_id($relationship->contextid),
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
             'relationship',
302 302
             $relationship->id,
303 303
             context::instance_by_id($relationship->contextid),
304
-            $relationship->tags) ;
304
+            $relationship->tags);
305 305
 
306 306
         $event = \local_relationship\event\relationship_updated::create(array(
307 307
                 'context' => context::instance_by_id($relationship->contextid),
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
 
329 329
     $cohorts = $DB->get_records('relationship_cohorts', array('relationshipid' => $relationship->id));
330 330
 
331
-    if(count($cohorts) == 0) {
331
+    if (count($cohorts) == 0) {
332 332
 
333 333
         $relationshipgroups = $DB->get_records('relationship_groups', array('relationshipid' => $relationship->id));
334 334
         foreach ($relationshipgroups AS $g) {
Please login to merge, or discard this patch.