@@ -5,16 +5,16 @@ |
||
| 5 | 5 | |
| 6 | 6 | class VerifyCsrfToken extends BaseVerifier { |
| 7 | 7 | |
| 8 | - /** |
|
| 9 | - * Handle an incoming request. |
|
| 10 | - * |
|
| 11 | - * @param \Illuminate\Http\Request $request |
|
| 12 | - * @param \Closure $next |
|
| 13 | - * @return mixed |
|
| 14 | - */ |
|
| 15 | - public function handle($request, Closure $next) |
|
| 16 | - { |
|
| 17 | - return parent::handle($request, $next); |
|
| 18 | - } |
|
| 8 | + /** |
|
| 9 | + * Handle an incoming request. |
|
| 10 | + * |
|
| 11 | + * @param \Illuminate\Http\Request $request |
|
| 12 | + * @param \Closure $next |
|
| 13 | + * @return mixed |
|
| 14 | + */ |
|
| 15 | + public function handle($request, Closure $next) |
|
| 16 | + { |
|
| 17 | + return parent::handle($request, $next); |
|
| 18 | + } |
|
| 19 | 19 | |
| 20 | 20 | } |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | public function scopeByElement($query, Model $model) |
| 55 | 55 | { |
| 56 | 56 | return $query->where($this->getTable() . '.' . $this->getModelColumn(), '=', $model->getTable()) |
| 57 | - ->where($this->getTable() . '.' . $this->getIdSourceColumn(), '=', $model->getKey()); |
|
| 57 | + ->where($this->getTable() . '.' . $this->getIdSourceColumn(), '=', $model->getKey()); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | } |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: mfrancois |
|
| 5 | - * Date: 6/02/2015 |
|
| 6 | - * Time: 4:37 PM |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: mfrancois |
|
| 5 | + * Date: 6/02/2015 |
|
| 6 | + * Time: 4:37 PM |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace Distilleries\Expendable\Exporter; |
| 10 | 10 | |
@@ -171,8 +171,7 @@ discard block |
||
| 171 | 171 | // closing tags every so often so we skip those and only |
| 172 | 172 | // do the long opening tags. |
| 173 | 173 | $str = preg_replace('/<\?(php)/i', "<?\\1", $str); |
| 174 | - } |
|
| 175 | - else |
|
| 174 | + } else |
|
| 176 | 175 | { |
| 177 | 176 | $str = str_replace(array('<?', '?' . '>'), array('<?', '?>'), $str); |
| 178 | 177 | } |
@@ -307,8 +306,7 @@ discard block |
||
| 307 | 306 | if ($evilAttribute) |
| 308 | 307 | { |
| 309 | 308 | $evil_attributes = array('on\w*', 'style', 'xmlns'); |
| 310 | - } |
|
| 311 | - else |
|
| 309 | + } else |
|
| 312 | 310 | { |
| 313 | 311 | $evil_attributes = array('on\w*', 'xmlns'); |
| 314 | 312 | } |