Completed
Push — issue656-laravel5 ( 2aed30 )
by
unknown
06:48
created
app/Annotation.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6
-use Illuminate\Database\Eloquent\SoftDeletes;
7 6
 
8 7
 class Annotation extends Model implements ActivityInterface
9 8
 {
Please login to merge, or discard this patch.
app/BillImport.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
     /**
85 85
      * 	Recursive function to save children of a given node as DocContent items.
86
+     * @param integer $child_priority
86 87
      */
87 88
     public function saveChildren($node, $parent_id, $child_priority)
88 89
     {
@@ -189,6 +190,7 @@  discard block
 block discarded – undo
189 190
 
190 191
     /**
191 192
      * 	Get top-level meta information from the bill.
193
+     * @param string $tag
192 194
      */
193 195
     public function getBillMeta($tag)
194 196
     {
@@ -233,6 +235,7 @@  discard block
 block discarded – undo
233 235
     /**
234 236
      * 	Check attributes are set
235 237
      * 	Accepts single string or array of strings.
238
+     * @param string $attribute
236 239
      */
237 240
     protected function checkAttr($attribute)
238 241
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App;
4 4
 
5
-use Illuminate\Database\Eloquent\Model;
6
-
7 5
 /**
8 6
  * 	Import Class for House Bill XML
9 7
  * 	Not pretty at the moment, but it works.
Please login to merge, or discard this patch.
app/Comment.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6
-use Illuminate\Database\Eloquent\SoftDeletes;
7 6
 
8 7
 class Comment extends Model implements ActivityInterface
9 8
 {
Please login to merge, or discard this patch.
app/Console/Commands/DatabaseBackup.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -44,6 +44,10 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     //Create backups directory if it doesn't exist
47
+
48
+    /**
49
+     * @param string $backups_path
50
+     */
47 51
     public function setup($backups_path)
48 52
     {
49 53
         if (!file_exists($backups_path)) {
@@ -53,6 +57,10 @@  discard block
 block discarded – undo
53 57
     }
54 58
 
55 59
     //Run mysqldump and include timestamp in file name
60
+
61
+    /**
62
+     * @param string $backups_path
63
+     */
56 64
     public function backup($backups_path)
57 65
     {
58 66
         $creds = yaml_parse_file(app_path().'/config/creds.yml');
@@ -65,6 +73,11 @@  discard block
 block discarded – undo
65 73
     }
66 74
 
67 75
     //Limit number of saved backups
76
+
77
+    /**
78
+     * @param string $backups_path
79
+     * @param integer $total_backups
80
+     */
68 81
     public function cleanup($backups_path, $total_backups)
69 82
     {
70 83
         $files = glob($backups_path.'/*.sql');
Please login to merge, or discard this patch.
app/Doc.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -502,6 +502,9 @@
 block discarded – undo
502 502
         return $path;
503 503
     }
504 504
 
505
+    /**
506
+     * @param DocContent $doc_content
507
+     */
505 508
     public function indexContent($doc_content)
506 509
     {
507 510
         $es = self::esConnect();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6
-use Illuminate\Database\Eloquent\SoftDeletes;
7 6
 use Illuminate\Database\Eloquent\Collection;
8 7
 use Event;
9 8
 use URL;
Please login to merge, or discard this patch.
app/DocContent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6
-use Illuminate\Database\Eloquent\SoftDeletes;
7 6
 
8 7
 class DocContent extends Model
9 8
 {
Please login to merge, or discard this patch.
app/Group.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,9 +125,6 @@  discard block
 block discarded – undo
125 125
      *
126 126
      *	Validate input against merged rules
127 127
      *
128
-     *	@param array $attributes
129
-     *
130
-     *	@return bool
131 128
      */
132 129
     public function validate()
133 130
     {
@@ -400,6 +397,9 @@  discard block
 block discarded – undo
400 397
         return true;
401 398
     }
402 399
 
400
+    /**
401
+     * @param string $role
402
+     */
403 403
     public static function findUsersByRole($role)
404 404
     {
405 405
         if (!static::isValidRole($role)) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Illuminate\Support\Facades\Validator;
10 10
 use Illuminate\Support\MessageBag;
11 11
 use Illuminate\Database\Eloquent\Model;
12
-use Illuminate\Database\Eloquent\SoftDeletes;
13 12
 
14 13
 class Group extends Model
15 14
 {
Please login to merge, or discard this patch.
app/GroupMember.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6
-use Illuminate\Database\Eloquent\SoftDeletes;
7 6
 
8 7
 class GroupMember extends Model
9 8
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     /**
15 15
      *	Helper function to return error as growl message.
16 16
      *
17
-     *	@param string $message
17
+     *	@param string $messages
18 18
      *	@param string $severity
19 19
      *  @param array $params
20 20
      *
Please login to merge, or discard this patch.