Test Setup Failed
Pull Request — master (#35)
by
unknown
03:49
created
src/xAPI.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,9 @@
 block discarded – undo
30 30
      */
31 31
     public function actor($actor = [], $ref = null, $homepage = null)
32 32
     {
33
-        if (!$actor) return error('Please supply an actor');
33
+        if (!$actor) {
34
+            return error('Please supply an actor');
35
+        }
34 36
 
35 37
         $this->agent = new Agent;
36 38
         $actor_type = Config::get('laralocker.learning_locker.xapi_statements.actor_type');
Please login to merge, or discard this patch.