Completed
Branch master (3c9467)
by reallyli
10:45
created
src/Commands/ExportCommand.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Reallyli\AB\Commands;
4 4
 
5
-use League\Csv\Writer;
6
-use SplTempFileObject;
7
-use Reallyli\AB\Models\Goal;
8 5
 use Illuminate\Console\Command;
9
-use Reallyli\AB\Models\Experiment;
10 6
 use Illuminate\Support\Facades\File;
7
+use League\Csv\Writer;
8
+use Reallyli\AB\Models\Experiment;
9
+use Reallyli\AB\Models\Goal;
10
+use SplTempFileObject;
11 11
 use Symfony\Component\Console\Input\InputArgument;
12 12
 
13 13
 class ExportCommand extends Command
Please login to merge, or discard this patch.
src/Commands/FlushCommand.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Reallyli\AB\Commands;
4 4
 
5
-use DB;
6 5
 use Config;
6
+use DB;
7 7
 use Illuminate\Console\Command;
8 8
 
9 9
 class FlushCommand extends Command
Please login to merge, or discard this patch.
src/Commands/InstallCommand.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Reallyli\AB\Commands;
4 4
 
5 5
 use Config;
6
-use Schema;
7
-use Reallyli\AB\Models\Goal;
8 6
 use Illuminate\Console\Command;
9 7
 use Reallyli\AB\Models\Experiment;
8
+use Reallyli\AB\Models\Goal;
9
+use Schema;
10 10
 
11 11
 class InstallCommand extends Command
12 12
 {
Please login to merge, or discard this patch.
src/Commands/ReportCommand.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Reallyli\AB\Commands;
4 4
 
5
-use Reallyli\AB\Models\Goal;
6 5
 use Illuminate\Console\Command;
7 6
 use Reallyli\AB\Models\Experiment;
7
+use Reallyli\AB\Models\Goal;
8 8
 use Symfony\Component\Console\Helper\Table;
9 9
 
10 10
 class ReportCommand extends Command
Please login to merge, or discard this patch.
src/Models/Experiment.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Reallyli\AB\Models;
4 4
 
5
-use Illuminate\Support\Facades\Config;
6 5
 use Illuminate\Database\Eloquent\Model as Eloquent;
6
+use Illuminate\Support\Facades\Config;
7 7
 
8 8
 class Experiment extends Eloquent
9 9
 {
Please login to merge, or discard this patch.
src/Models/Goal.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Reallyli\AB\Models;
4 4
 
5
-use Illuminate\Support\Facades\Config;
6 5
 use Illuminate\Database\Eloquent\Model as Eloquent;
6
+use Illuminate\Support\Facades\Config;
7 7
 
8 8
 class Goal extends Eloquent
9 9
 {
Please login to merge, or discard this patch.
src/Tester.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,6 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Mark a goal as completed for the current experiment.
142 142
      *
143
+     * @param string $name
143 144
      * @return void
144 145
      */
145 146
     public function complete($name)
@@ -233,6 +234,7 @@  discard block
 block discarded – undo
233 234
     /**
234 235
      * Prepare an experiment for this session.
235 236
      *
237
+     * @param string $experiment
236 238
      * @return string
237 239
      */
238 240
     protected function nextExperiment($experiment = null)
@@ -274,7 +276,7 @@  discard block
 block discarded – undo
274 276
     /**
275 277
      * Check if there are active experiments.
276 278
      *
277
-     * @return string
279
+     * @return boolean
278 280
      */
279 281
     public function hasExperiments()
280 282
     {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Reallyli\AB;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use Reallyli\AB\Models\Goal;
7
-use Reallyli\AB\Models\Experiment;
8
-use Illuminate\Support\Facades\Route;
9 6
 use Illuminate\Support\Facades\Config;
7
+use Illuminate\Support\Facades\Route;
8
+use Reallyli\AB\Models\Experiment;
9
+use Reallyli\AB\Models\Goal;
10 10
 use Reallyli\AB\Session\SessionInterface;
11 11
 
12 12
 class Tester
Please login to merge, or discard this patch.
src/TesterServiceProvider.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Reallyli\AB;
4 4
 
5
-use Reallyli\AB\Commands\FlushCommand;
6
-use Reallyli\AB\Session\CookieSession;
7 5
 use Illuminate\Support\ServiceProvider;
8 6
 use Reallyli\AB\Commands\ExportCommand;
9
-use Reallyli\AB\Commands\ReportCommand;
7
+use Reallyli\AB\Commands\FlushCommand;
10 8
 use Reallyli\AB\Commands\InstallCommand;
9
+use Reallyli\AB\Commands\ReportCommand;
10
+use Reallyli\AB\Session\CookieSession;
11 11
 
12 12
 class TesterServiceProvider extends ServiceProvider
13 13
 {
Please login to merge, or discard this patch.