Completed
Push — master ( da52bd...055d28 )
by Scott
02:17
created
src/data_types/LambdaType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $this->saveCurrentEnvironment();
33 33
         $this->useCreationEnvironment();
34 34
         $this->createChildEnvironment();
35
-        for ($i=0; $i<$this->args->count(); $i++) {
35
+        for ($i = 0; $i < $this->args->count(); $i++) {
36 36
             $this->functionEnv->set(
37 37
                 $this->args->get($i)->value(), $params[$i]);
38 38
         }
Please login to merge, or discard this patch.
src/Repl.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Desmond;
3 3
 use Desmond\Desmond;
4
-use Desmond\data_types\VoidType;
5 4
 
6 5
 class Repl
7 6
 {
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -49,11 +49,17 @@
 block discarded – undo
49 49
         return fgets(STDIN);
50 50
     }
51 51
 
52
+    /**
53
+     * @param string $input
54
+     */
52 55
     private function isExitCommand($input)
53 56
     {
54 57
         return $input == "exit\n";
55 58
     }
56 59
 
60
+    /**
61
+     * @param string $input
62
+     */
57 63
     private function shouldBeProcessed($input)
58 64
     {
59 65
         return !empty($input) && !preg_match('/^;/', $input);
Please login to merge, or discard this patch.