Skip to content

Commit

Permalink
Fix .travis.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Dec 21, 2017
1 parent a744408 commit 6ff2588
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ matrix:
- php: 7.2
- php: 7.1
- php: 7.0.11
- php: 7.0.11
- php: 5.6
- php: 5.5
- php: 5.4
Expand All @@ -20,7 +19,7 @@ cache:
- "vendor"

install:
- 'composer install
- composer install

script:
- composer test
Expand Down
5 changes: 4 additions & 1 deletion src/Expander.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,10 @@ public function expandProperty($property_name, $unexpanded_value, $data)
}

/**
* @param $message
* Logs a message using the logger.
*
* @param string $message
* The message to log.
*/
public function log($message)
{
Expand Down
12 changes: 9 additions & 3 deletions src/Stringifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@

namespace Grasmash\Expander;

use function implode;

/**
* Class Stringifier
* @package Grasmash\Expander
*/
class Stringifier implements StringifierInterface
{
/**
* @param $array
* Converts array to string.
*
* @param array $array
* The array to convert.
*
* @return string
* The resultant string.
*/
public static function stringifyArray(array $array)
{
Expand Down
6 changes: 5 additions & 1 deletion src/StringifierInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
interface StringifierInterface
{
/**
* @param $array
* Converts array to string.
*
* @param array $array
* The array to convert.
*
* @return string
* The resultant string.
*/
public static function stringifyArray(array $array);
}

0 comments on commit 6ff2588

Please sign in to comment.