| Conditions | 4 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 2 | Features | 0 |
| 1 | <?php |
||
| 53 | private function _createLinkString(array $param = []) |
||
| 54 | { |
||
| 55 | return collect($param)->filter(function ($value, $key) { |
||
| 56 | return !is_null($value) && $value !== '' && !Arr::exists(['sign', 'sign_type'], $key); |
||
| 57 | })->map(function ($value, $key) { |
||
| 58 | return sprintf('%s=%s', $key, |
||
| 59 | is_array($value) ? json_encode($value, JSON_UNESCAPED_UNICODE) : $value); |
||
| 60 | })->implode('&'); |
||
| 61 | } |
||
| 62 | } |