Code Duplication    Length = 11-11 lines in 2 locations

src/Understand/UnderstandLaravel5/FieldProvider.php 2 locations

@@ 386-396 (lines=11) @@
383
384
        $queryString = [];
385
386
        foreach($this->request->query as $key => $value)
387
        {
388
            try
389
            {
390
                $queryString[$key] = $this->parseRequestFieldValue($key, $value);
391
            }
392
            catch (\Exception $e)
393
            {
394
                $queryString[$key] = '[handler error]';
395
            }
396
        }
397
398
        return $queryString;
399
    }
@@ 427-437 (lines=11) @@
424
425
        $postData = [];
426
427
        foreach($this->request->request as $key => $value)
428
        {
429
            try
430
            {
431
                $postData[$key] = $this->parseRequestFieldValue($key, $value);
432
            }
433
            catch (\Exception $e)
434
            {
435
                $postData[$key] = '[handler error]';
436
            }
437
        }
438
439
        return $postData;
440
    }