Skip to content

Commit

Permalink
Add strict_types
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkart committed Sep 30, 2019
1 parent d9198d1 commit 548e03d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Alexkart\CurlBuilder;

Expand Down Expand Up @@ -338,7 +338,7 @@ private function toInternalFormat(array $options): array
{
$formattedOptions = [];
foreach ($options as $option => $arguments) {
$option = trim($option);
$option = trim((string)$option);
if (strpos($option, '-') !== 0) {
// ['-L', '-v']
$formattedOptions[$arguments] = [null];
Expand Down

0 comments on commit 548e03d

Please sign in to comment.