We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ -45,7 +45,7 @@ | ||
| 45 | 45 | $secondary_ids[$second_item] = $second_item; | 
| 46 | 46 | } | 
| 47 | 47 | } | 
| 48 | -        }else{ //create dependecies from relation if not from validate error | |
| 48 | +        } else{ //create dependecies from relation if not from validate error | |
| 49 | 49 |            foreach( $primary_array as $primary_item ){ | 
| 50 | 50 |              foreach($primary_item[$secondary_dependency['entity']] as $second_item ){ | 
| 51 | 51 | $secondary_ids[$second_item['id']] = $second_item['id']; | 
| @@ -69,7 +69,7 @@ | ||
| 69 | 69 | * | 
| 70 | 70 | * @param array $columns - the database columns that contain the JSONs | 
| 71 | 71 | * | 
| 72 | - * @return Model | |
| 72 | + * @return CrudTrait | |
| 73 | 73 | */ | 
| 74 | 74 | public function withFakes($columns = []) | 
| 75 | 75 |      { | 
| @@ -95,6 +95,12 @@ | ||
| 95 | 95 | public $type = 'view'; | 
| 96 | 96 | public $content; | 
| 97 | 97 | |
| 98 | + /** | |
| 99 | + * @param string $stack | |
| 100 | + * @param string $name | |
| 101 | + * @param string $type | |
| 102 | + * @param string $content | |
| 103 | + */ | |
| 98 | 104 | public function __construct($stack, $name, $type, $content) | 
| 99 | 105 |      { | 
| 100 | 106 | $this->stack = $stack; | 
| @@ -33,6 +33,7 @@ | ||
| 33 | 33 | * Get all fields needed for the EDIT ENTRY form. | 
| 34 | 34 | * | 
| 35 | 35 | * @param [integer] The id of the entry that is being edited. | 
| 36 | + * @param integer $id | |
| 36 | 37 | * | 
| 37 | 38 | * @return [array] The fields with attributes, fake attributes and values. | 
| 38 | 39 | */ | 
| @@ -11,6 +11,9 @@ | ||
| 11 | 11 | return $this->autoFocusOnFirstField; | 
| 12 | 12 | } | 
| 13 | 13 | |
| 14 | + /** | |
| 15 | + * @param boolean $value | |
| 16 | + */ | |
| 14 | 17 | public function setAutoFocusOnFirstField($value) | 
| 15 | 18 |      { | 
| 16 | 19 | return $this->autoFocusOnFirstField = (bool) $value; | 
| @@ -12,8 +12,7 @@ | ||
| 12 | 12 |      if(is_array($items)) { | 
| 13 | 13 |          if (count($items)) { | 
| 14 | 14 | $items = json_encode($items); | 
| 15 | - } | |
| 16 | - else | |
| 15 | + } else | |
| 17 | 16 |          { | 
| 18 | 17 | $items = '[]'; | 
| 19 | 18 | } |