Skip to content

Commit d13649a

Browse files
committed
Removed odd bug
1 parent ad463bd commit d13649a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ApiSettings.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ public static function getOptions(
4848
// @codingStandardsIgnoreStart
4949
$options = array_replace_recursive(self::TRANSPORT_OPTIONS, $suppliedOptions);
5050
$options[Options::HYDRATOR_OPTIONS][HydratorOptions::NAMESPACE_SUFFIX] = $suffix;
51-
$options[Options::TRANSPORT_OPTIONS][TransportOptions::MIDDLEWARE] = array_unique(
52-
$options[Options::TRANSPORT_OPTIONS][TransportOptions::MIDDLEWARE]
53-
);
5451
$options[Options::TRANSPORT_OPTIONS][TransportOptions::DEFAULT_REQUEST_OPTIONS][Oauth1Middleware::class][Oauth1Options::CONSUMER_KEY] = new Definition\ConsumerKey($consumerKey);
5552
$options[Options::TRANSPORT_OPTIONS][TransportOptions::DEFAULT_REQUEST_OPTIONS][Oauth1Middleware::class][Oauth1Options::CONSUMER_SECRET] = new Definition\ConsumerSecret($consumerSecret);
5653
// @codingStandardsIgnoreEnd

0 commit comments

Comments
 (0)