Passed
Push — master ( f83dab...5d0397 )
by Daimona
02:33 queued 38s
created
src/Request/RequestFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare( strict_types=1 );
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace BotRiconferme\Request;
4 4
 
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 	 * @param LoggerInterface $logger
15 15
 	 * @param string $domain
16 16
 	 */
17
-	public function __construct( LoggerInterface $logger, string $domain ) {
17
+	public function __construct ( LoggerInterface $logger, string $domain ) {
18 18
 		$this->logger = $logger;
19 19
 		$this->domain = $domain;
20 20
 	}
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 	 * @param callable $cookiesCallback
27 27
 	 * @return RequestBase
28 28
 	 */
29
-	public function createRequest( array $params, array $cookies, callable $cookiesCallback ) {
29
+	public function createRequest ( array $params, array $cookies, callable $cookiesCallback ) {
30 30
 		$ret = extension_loaded( 'curl' )
31 31
 			? new CurlRequest( $this->logger, $params, $this->domain, $cookiesCallback )
32 32
 			: new NativeRequest( $this->logger, $params, $this->domain, $cookiesCallback );
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	 * @phan-param array<int|string|bool> $params
42 42
 	 * @return RequestBase
43 43
 	 */
44
-	public function createStandaloneRequest( array $params ) {
44
+	public function createStandaloneRequest ( array $params ) {
45 45
 		/** @param string[] $newCookies */
46 46
 		$cookiesCallback = function ( array $newCookies ) {
47 47
 			if ( $newCookies ) {
Please login to merge, or discard this patch.