Skip to content

Commit

Permalink
Merge pull request #2 from poing/analysis-8jZO79
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
poing committed Jun 29, 2019
2 parents 331c6cf + bbef8e0 commit a661466
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions tests/suite/support.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

if (!function_exists('hmap')) {

/**
* Simple function which aids in converting the tree hierarchy into something
* more easily testable...
*
* @param array $nodes
* @param null|mixed $preserve
*
* @return array
*/
/**
* Simple function which aids in converting the tree hierarchy into something
* more easily testable...
*
* @param array $nodes
* @param null|mixed $preserve
*
* @return array
*/
function hmap(array $nodes, $preserve = null)
{
$output = [];
Expand Down Expand Up @@ -40,15 +40,15 @@ function hmap(array $nodes, $preserve = null)

if (!function_exists('array_ints_keys')) {

/**
* Cast provided keys's values into ints. This is to wrestle with PDO driver
* inconsistencies.
*
* @param array $input
* @param mixed $keys
*
* @return array
*/
/**
* Cast provided keys's values into ints. This is to wrestle with PDO driver
* inconsistencies.
*
* @param array $input
* @param mixed $keys
*
* @return array
*/
function array_ints_keys(array $input, $keys = 'id')
{
$keys = is_string($keys) ? [$keys] : $keys;
Expand Down

0 comments on commit a661466

Please sign in to comment.