Passed
Push — master ( da9ad9...c724eb )
by Roeland
13:33 queued 01:55
created
lib/private/Mail/Attachment.php 1 patch
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -34,48 +34,48 @@
 block discarded – undo
34 34
  */
35 35
 class Attachment implements IAttachment {
36 36
 
37
-	/** @var \Swift_Mime_Attachment */
38
-	protected $swiftAttachment;
37
+    /** @var \Swift_Mime_Attachment */
38
+    protected $swiftAttachment;
39 39
 
40
-	public function __construct(\Swift_Mime_Attachment $attachment) {
41
-		$this->swiftAttachment = $attachment;
42
-	}
40
+    public function __construct(\Swift_Mime_Attachment $attachment) {
41
+        $this->swiftAttachment = $attachment;
42
+    }
43 43
 
44
-	/**
45
-	 * @param string $filename
46
-	 * @return $this
47
-	 * @since 13.0.0
48
-	 */
49
-	public function setFilename(string $filename): IAttachment {
50
-		$this->swiftAttachment->setFilename($filename);
51
-		return $this;
52
-	}
44
+    /**
45
+     * @param string $filename
46
+     * @return $this
47
+     * @since 13.0.0
48
+     */
49
+    public function setFilename(string $filename): IAttachment {
50
+        $this->swiftAttachment->setFilename($filename);
51
+        return $this;
52
+    }
53 53
 
54
-	/**
55
-	 * @param string $contentType
56
-	 * @return $this
57
-	 * @since 13.0.0
58
-	 */
59
-	public function setContentType(string $contentType): IAttachment {
60
-		$this->swiftAttachment->setContentType($contentType);
61
-		return $this;
62
-	}
54
+    /**
55
+     * @param string $contentType
56
+     * @return $this
57
+     * @since 13.0.0
58
+     */
59
+    public function setContentType(string $contentType): IAttachment {
60
+        $this->swiftAttachment->setContentType($contentType);
61
+        return $this;
62
+    }
63 63
 
64
-	/**
65
-	 * @param string $body
66
-	 * @return $this
67
-	 * @since 13.0.0
68
-	 */
69
-	public function setBody(string $body): IAttachment {
70
-		$this->swiftAttachment->setBody($body);
71
-		return $this;
72
-	}
64
+    /**
65
+     * @param string $body
66
+     * @return $this
67
+     * @since 13.0.0
68
+     */
69
+    public function setBody(string $body): IAttachment {
70
+        $this->swiftAttachment->setBody($body);
71
+        return $this;
72
+    }
73 73
 
74
-	/**
75
-	 * @return \Swift_Mime_Attachment
76
-	 */
77
-	public function getSwiftAttachment(): \Swift_Mime_Attachment {
78
-		return $this->swiftAttachment;
79
-	}
74
+    /**
75
+     * @return \Swift_Mime_Attachment
76
+     */
77
+    public function getSwiftAttachment(): \Swift_Mime_Attachment {
78
+        return $this->swiftAttachment;
79
+    }
80 80
 
81 81
 }
Please login to merge, or discard this patch.
lib/public/Mail/IMailer.php 1 patch
Indentation   +51 added lines, -51 removed lines patch added patch discarded remove patch
@@ -46,60 +46,60 @@
 block discarded – undo
46 46
  * @since 8.1.0
47 47
  */
48 48
 interface IMailer {
49
-	/**
50
-	 * Creates a new message object that can be passed to send()
51
-	 *
52
-	 * @return IMessage
53
-	 * @since 8.1.0
54
-	 */
55
-	public function createMessage(): IMessage;
49
+    /**
50
+     * Creates a new message object that can be passed to send()
51
+     *
52
+     * @return IMessage
53
+     * @since 8.1.0
54
+     */
55
+    public function createMessage(): IMessage;
56 56
 
57
-	/**
58
-	 * @param string|null $data
59
-	 * @param string|null $filename
60
-	 * @param string|null $contentType
61
-	 * @return IAttachment
62
-	 * @since 13.0.0
63
-	 */
64
-	public function createAttachment($data = null, $filename = null, $contentType = null): IAttachment;
57
+    /**
58
+     * @param string|null $data
59
+     * @param string|null $filename
60
+     * @param string|null $contentType
61
+     * @return IAttachment
62
+     * @since 13.0.0
63
+     */
64
+    public function createAttachment($data = null, $filename = null, $contentType = null): IAttachment;
65 65
 
66
-	/**
67
-	 * @param string $path
68
-	 * @param string|null $contentType
69
-	 * @return IAttachment
70
-	 * @since 13.0.0
71
-	 */
72
-	public function createAttachmentFromPath(string $path, $contentType = null): IAttachment;
66
+    /**
67
+     * @param string $path
68
+     * @param string|null $contentType
69
+     * @return IAttachment
70
+     * @since 13.0.0
71
+     */
72
+    public function createAttachmentFromPath(string $path, $contentType = null): IAttachment;
73 73
 
74
-	/**
75
-	 * Creates a new email template object
76
-	 *
77
-	 * @param string $emailId
78
-	 * @param array $data
79
-	 * @return IEMailTemplate
80
-	 * @since 12.0.0 Parameters added in 12.0.3
81
-	 */
82
-	public function createEMailTemplate(string $emailId, array $data = []): IEMailTemplate;
74
+    /**
75
+     * Creates a new email template object
76
+     *
77
+     * @param string $emailId
78
+     * @param array $data
79
+     * @return IEMailTemplate
80
+     * @since 12.0.0 Parameters added in 12.0.3
81
+     */
82
+    public function createEMailTemplate(string $emailId, array $data = []): IEMailTemplate;
83 83
 
84
-	/**
85
-	 * Send the specified message. Also sets the from address to the value defined in config.php
86
-	 * if no-one has been passed.
87
-	 *
88
-	 * @param IMessage $message Message to send
89
-	 * @return string[] Array with failed recipients. Be aware that this depends on the used mail backend and
90
-	 * therefore should be considered
91
-	 * @throws \Exception In case it was not possible to send the message. (for example if an invalid mail address
92
-	 * has been supplied.)
93
-	 * @since 8.1.0
94
-	 */
95
-	public function send(IMessage $message): array;
84
+    /**
85
+     * Send the specified message. Also sets the from address to the value defined in config.php
86
+     * if no-one has been passed.
87
+     *
88
+     * @param IMessage $message Message to send
89
+     * @return string[] Array with failed recipients. Be aware that this depends on the used mail backend and
90
+     * therefore should be considered
91
+     * @throws \Exception In case it was not possible to send the message. (for example if an invalid mail address
92
+     * has been supplied.)
93
+     * @since 8.1.0
94
+     */
95
+    public function send(IMessage $message): array;
96 96
 
97
-	/**
98
-	 * Checks if an e-mail address is valid
99
-	 *
100
-	 * @param string $email Email address to be validated
101
-	 * @return bool True if the mail address is valid, false otherwise
102
-	 * @since 8.1.0
103
-	 */
104
-	public function validateMailAddress(string $email): bool;
97
+    /**
98
+     * Checks if an e-mail address is valid
99
+     *
100
+     * @param string $email Email address to be validated
101
+     * @return bool True if the mail address is valid, false otherwise
102
+     * @since 8.1.0
103
+     */
104
+    public function validateMailAddress(string $email): bool;
105 105
 }
Please login to merge, or discard this patch.
lib/public/Mail/IAttachment.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -32,25 +32,25 @@
 block discarded – undo
32 32
  */
33 33
 interface IAttachment {
34 34
 
35
-	/**
36
-	 * @param string $filename
37
-	 * @return IAttachment
38
-	 * @since 13.0.0
39
-	 */
40
-	public function setFilename(string $filename): IAttachment;
35
+    /**
36
+     * @param string $filename
37
+     * @return IAttachment
38
+     * @since 13.0.0
39
+     */
40
+    public function setFilename(string $filename): IAttachment;
41 41
 
42
-	/**
43
-	 * @param string $contentType
44
-	 * @return IAttachment
45
-	 * @since 13.0.0
46
-	 */
47
-	public function setContentType(string $contentType): IAttachment;
42
+    /**
43
+     * @param string $contentType
44
+     * @return IAttachment
45
+     * @since 13.0.0
46
+     */
47
+    public function setContentType(string $contentType): IAttachment;
48 48
 
49
-	/**
50
-	 * @param string $body
51
-	 * @return IAttachment
52
-	 * @since 13.0.0
53
-	 */
54
-	public function setBody(string $body): IAttachment;
49
+    /**
50
+     * @param string $body
51
+     * @return IAttachment
52
+     * @since 13.0.0
53
+     */
54
+    public function setBody(string $body): IAttachment;
55 55
 
56 56
 }
Please login to merge, or discard this patch.
lib/public/Mail/IMessage.php 1 patch
Indentation   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -32,64 +32,64 @@
 block discarded – undo
32 32
  */
33 33
 interface IMessage {
34 34
 
35
-	/**
36
-	 * @param IAttachment $attachment
37
-	 * @return IMessage
38
-	 * @since 13.0.0
39
-	 */
40
-	public function attach(IAttachment $attachment): IMessage;
35
+    /**
36
+     * @param IAttachment $attachment
37
+     * @return IMessage
38
+     * @since 13.0.0
39
+     */
40
+    public function attach(IAttachment $attachment): IMessage;
41 41
 
42
-	/**
43
-	 * Set the from address of this message.
44
-	 *
45
-	 * If no "From" address is used \OC\Mail\Mailer will use mail_from_address and mail_domain from config.php
46
-	 *
47
-	 * @param array $addresses Example: array('[email protected]', '[email protected]' => 'A name')
48
-	 * @return IMessage
49
-	 * @since 13.0.0
50
-	 */
51
-	public function setFrom(array $addresses): IMessage;
42
+    /**
43
+     * Set the from address of this message.
44
+     *
45
+     * If no "From" address is used \OC\Mail\Mailer will use mail_from_address and mail_domain from config.php
46
+     *
47
+     * @param array $addresses Example: array('[email protected]', '[email protected]' => 'A name')
48
+     * @return IMessage
49
+     * @since 13.0.0
50
+     */
51
+    public function setFrom(array $addresses): IMessage;
52 52
 
53
-	/**
54
-	 * Set the Reply-To address of this message
55
-	 *
56
-	 * @param array $addresses
57
-	 * @return IMessage
58
-	 * @since 13.0.0
59
-	 */
60
-	public function setReplyTo(array $addresses): IMessage;
53
+    /**
54
+     * Set the Reply-To address of this message
55
+     *
56
+     * @param array $addresses
57
+     * @return IMessage
58
+     * @since 13.0.0
59
+     */
60
+    public function setReplyTo(array $addresses): IMessage;
61 61
 
62
-	/**
63
-	 * Set the to addresses of this message.
64
-	 *
65
-	 * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name')
66
-	 * @return IMessage
67
-	 * @since 13.0.0
68
-	 */
69
-	public function setTo(array $recipients): IMessage;
62
+    /**
63
+     * Set the to addresses of this message.
64
+     *
65
+     * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name')
66
+     * @return IMessage
67
+     * @since 13.0.0
68
+     */
69
+    public function setTo(array $recipients): IMessage;
70 70
 
71
-	/**
72
-	 * Set the CC recipients of this message.
73
-	 *
74
-	 * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name')
75
-	 * @return IMessage
76
-	 * @since 13.0.0
77
-	 */
78
-	public function setCc(array $recipients): IMessage;
71
+    /**
72
+     * Set the CC recipients of this message.
73
+     *
74
+     * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name')
75
+     * @return IMessage
76
+     * @since 13.0.0
77
+     */
78
+    public function setCc(array $recipients): IMessage;
79 79
 
80
-	/**
81
-	 * Set the BCC recipients of this message.
82
-	 *
83
-	 * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name')
84
-	 * @return IMessage
85
-	 * @since 13.0.0
86
-	 */
87
-	public function setBcc(array $recipients): IMessage;
80
+    /**
81
+     * Set the BCC recipients of this message.
82
+     *
83
+     * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name')
84
+     * @return IMessage
85
+     * @since 13.0.0
86
+     */
87
+    public function setBcc(array $recipients): IMessage;
88 88
 
89
-	/**
90
-	 * @param IEMailTemplate $emailTemplate
91
-	 * @return IMessage
92
-	 * @since 13.0.0
93
-	 */
94
-	public function useTemplate(IEMailTemplate $emailTemplate): IMessage;
89
+    /**
90
+     * @param IEMailTemplate $emailTemplate
91
+     * @return IMessage
92
+     * @since 13.0.0
93
+     */
94
+    public function useTemplate(IEMailTemplate $emailTemplate): IMessage;
95 95
 }
Please login to merge, or discard this patch.
lib/private/Security/CSRF/CsrfTokenGenerator.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -32,23 +32,23 @@
 block discarded – undo
32 32
  * @package OC\Security\CSRF
33 33
  */
34 34
 class CsrfTokenGenerator {
35
-	/** @var ISecureRandom  */
36
-	private $random;
35
+    /** @var ISecureRandom  */
36
+    private $random;
37 37
 
38
-	/**
39
-	 * @param ISecureRandom $random
40
-	 */
41
-	public function __construct(ISecureRandom $random) {
42
-		$this->random = $random;
43
-	}
38
+    /**
39
+     * @param ISecureRandom $random
40
+     */
41
+    public function __construct(ISecureRandom $random) {
42
+        $this->random = $random;
43
+    }
44 44
 
45
-	/**
46
-	 * Generate a new CSRF token.
47
-	 *
48
-	 * @param int $length Length of the token in characters.
49
-	 * @return string
50
-	 */
51
-	public function generateToken(int $length = 32): string {
52
-		return $this->random->generate($length);
53
-	}
45
+    /**
46
+     * Generate a new CSRF token.
47
+     *
48
+     * @param int $length Length of the token in characters.
49
+     * @return string
50
+     */
51
+    public function generateToken(int $length = 32): string {
52
+        return $this->random->generate($length);
53
+    }
54 54
 }
Please login to merge, or discard this patch.
lib/private/Security/IdentityProof/Key.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -25,25 +25,25 @@
 block discarded – undo
25 25
 namespace OC\Security\IdentityProof;
26 26
 
27 27
 class Key {
28
-	/** @var string */
29
-	private $publicKey;
30
-	/** @var string */
31
-	private $privateKey;
28
+    /** @var string */
29
+    private $publicKey;
30
+    /** @var string */
31
+    private $privateKey;
32 32
 
33
-	/**
34
-	 * @param string $publicKey
35
-	 * @param string $privateKey
36
-	 */
37
-	public function __construct(string $publicKey, string $privateKey) {
38
-		$this->publicKey = $publicKey;
39
-		$this->privateKey = $privateKey;
40
-	}
33
+    /**
34
+     * @param string $publicKey
35
+     * @param string $privateKey
36
+     */
37
+    public function __construct(string $publicKey, string $privateKey) {
38
+        $this->publicKey = $publicKey;
39
+        $this->privateKey = $privateKey;
40
+    }
41 41
 
42
-	public function getPrivate(): string {
43
-		return $this->privateKey;
44
-	}
42
+    public function getPrivate(): string {
43
+        return $this->privateKey;
44
+    }
45 45
 
46
-	public function getPublic(): string {
47
-		return $this->publicKey;
48
-	}
46
+    public function getPublic(): string {
47
+        return $this->publicKey;
48
+    }
49 49
 }
Please login to merge, or discard this patch.
core/Controller/SearchController.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -31,23 +31,23 @@
 block discarded – undo
31 31
 
32 32
 class SearchController extends Controller {
33 33
 
34
-	/** @var ISearch */
35
-	private $searcher;
34
+    /** @var ISearch */
35
+    private $searcher;
36 36
 
37
-	public function __construct(string $appName,
38
-								IRequest $request,
39
-								ISearch $search) {
40
-		parent::__construct($appName, $request);
37
+    public function __construct(string $appName,
38
+                                IRequest $request,
39
+                                ISearch $search) {
40
+        parent::__construct($appName, $request);
41 41
 
42
-		$this->searcher = $search;
43
-	}
42
+        $this->searcher = $search;
43
+    }
44 44
 
45
-	/**
46
-	 * @NoAdminRequired
47
-	 */
48
-	public function search(string $query, array $inApps = [], int $page = 1, int $size = 30): JSONResponse {
49
-		$results = $this->searcher->searchPaged($query, $inApps, $page, $size);
45
+    /**
46
+     * @NoAdminRequired
47
+     */
48
+    public function search(string $query, array $inApps = [], int $page = 1, int $size = 30): JSONResponse {
49
+        $results = $this->searcher->searchPaged($query, $inApps, $page, $size);
50 50
 
51
-		return new JSONResponse($results);
52
-	}
51
+        return new JSONResponse($results);
52
+    }
53 53
 }
Please login to merge, or discard this patch.
lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php 1 patch
Indentation   +366 added lines, -366 removed lines patch added patch discarded remove patch
@@ -37,396 +37,396 @@
 block discarded – undo
37 37
 use OCP\IDBConnection;
38 38
 
39 39
 class ExpressionBuilder implements IExpressionBuilder {
40
-	/** @var \Doctrine\DBAL\Query\Expression\ExpressionBuilder */
41
-	protected $expressionBuilder;
40
+    /** @var \Doctrine\DBAL\Query\Expression\ExpressionBuilder */
41
+    protected $expressionBuilder;
42 42
 
43
-	/** @var QuoteHelper */
44
-	protected $helper;
43
+    /** @var QuoteHelper */
44
+    protected $helper;
45 45
 
46
-	/** @var IDBConnection */
47
-	protected $connection;
46
+    /** @var IDBConnection */
47
+    protected $connection;
48 48
 
49
-	/** @var FunctionBuilder */
50
-	protected $functionBuilder;
49
+    /** @var FunctionBuilder */
50
+    protected $functionBuilder;
51 51
 
52
-	/**
53
-	 * Initializes a new <tt>ExpressionBuilder</tt>.
54
-	 *
55
-	 * @param IDBConnection $connection
56
-	 * @param IQueryBuilder $queryBuilder
57
-	 */
58
-	public function __construct(IDBConnection $connection, IQueryBuilder $queryBuilder) {
59
-		$this->connection = $connection;
60
-		$this->helper = new QuoteHelper();
61
-		$this->expressionBuilder = new DoctrineExpressionBuilder($connection);
62
-		$this->functionBuilder = $queryBuilder->func();
63
-	}
52
+    /**
53
+     * Initializes a new <tt>ExpressionBuilder</tt>.
54
+     *
55
+     * @param IDBConnection $connection
56
+     * @param IQueryBuilder $queryBuilder
57
+     */
58
+    public function __construct(IDBConnection $connection, IQueryBuilder $queryBuilder) {
59
+        $this->connection = $connection;
60
+        $this->helper = new QuoteHelper();
61
+        $this->expressionBuilder = new DoctrineExpressionBuilder($connection);
62
+        $this->functionBuilder = $queryBuilder->func();
63
+    }
64 64
 
65
-	/**
66
-	 * Creates a conjunction of the given boolean expressions.
67
-	 *
68
-	 * Example:
69
-	 *
70
-	 *     [php]
71
-	 *     // (u.type = ?) AND (u.role = ?)
72
-	 *     $expr->andX('u.type = ?', 'u.role = ?'));
73
-	 *
74
-	 * @param mixed ...$x Optional clause. Defaults = null, but requires
75
-	 *                 at least one defined when converting to string.
76
-	 *
77
-	 * @return \OCP\DB\QueryBuilder\ICompositeExpression
78
-	 */
79
-	public function andX(...$x) {
80
-		$compositeExpression = call_user_func_array([$this->expressionBuilder, 'andX'], $x);
81
-		return new CompositeExpression($compositeExpression);
82
-	}
65
+    /**
66
+     * Creates a conjunction of the given boolean expressions.
67
+     *
68
+     * Example:
69
+     *
70
+     *     [php]
71
+     *     // (u.type = ?) AND (u.role = ?)
72
+     *     $expr->andX('u.type = ?', 'u.role = ?'));
73
+     *
74
+     * @param mixed ...$x Optional clause. Defaults = null, but requires
75
+     *                 at least one defined when converting to string.
76
+     *
77
+     * @return \OCP\DB\QueryBuilder\ICompositeExpression
78
+     */
79
+    public function andX(...$x) {
80
+        $compositeExpression = call_user_func_array([$this->expressionBuilder, 'andX'], $x);
81
+        return new CompositeExpression($compositeExpression);
82
+    }
83 83
 
84
-	/**
85
-	 * Creates a disjunction of the given boolean expressions.
86
-	 *
87
-	 * Example:
88
-	 *
89
-	 *     [php]
90
-	 *     // (u.type = ?) OR (u.role = ?)
91
-	 *     $qb->where($qb->expr()->orX('u.type = ?', 'u.role = ?'));
92
-	 *
93
-	 * @param mixed ...$x Optional clause. Defaults = null, but requires
94
-	 *                 at least one defined when converting to string.
95
-	 *
96
-	 * @return \OCP\DB\QueryBuilder\ICompositeExpression
97
-	 */
98
-	public function orX(...$x) {
99
-		$compositeExpression = call_user_func_array([$this->expressionBuilder, 'orX'], $x);
100
-		return new CompositeExpression($compositeExpression);
101
-	}
84
+    /**
85
+     * Creates a disjunction of the given boolean expressions.
86
+     *
87
+     * Example:
88
+     *
89
+     *     [php]
90
+     *     // (u.type = ?) OR (u.role = ?)
91
+     *     $qb->where($qb->expr()->orX('u.type = ?', 'u.role = ?'));
92
+     *
93
+     * @param mixed ...$x Optional clause. Defaults = null, but requires
94
+     *                 at least one defined when converting to string.
95
+     *
96
+     * @return \OCP\DB\QueryBuilder\ICompositeExpression
97
+     */
98
+    public function orX(...$x) {
99
+        $compositeExpression = call_user_func_array([$this->expressionBuilder, 'orX'], $x);
100
+        return new CompositeExpression($compositeExpression);
101
+    }
102 102
 
103
-	/**
104
-	 * Creates a comparison expression.
105
-	 *
106
-	 * @param mixed $x The left expression.
107
-	 * @param string $operator One of the IExpressionBuilder::* constants.
108
-	 * @param mixed $y The right expression.
109
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
110
-	 *                  required when comparing text fields for oci compatibility
111
-	 *
112
-	 * @return string
113
-	 */
114
-	public function comparison($x, $operator, $y, $type = null) {
115
-		$x = $this->helper->quoteColumnName($x);
116
-		$y = $this->helper->quoteColumnName($y);
117
-		return $this->expressionBuilder->comparison($x, $operator, $y);
118
-	}
103
+    /**
104
+     * Creates a comparison expression.
105
+     *
106
+     * @param mixed $x The left expression.
107
+     * @param string $operator One of the IExpressionBuilder::* constants.
108
+     * @param mixed $y The right expression.
109
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
110
+     *                  required when comparing text fields for oci compatibility
111
+     *
112
+     * @return string
113
+     */
114
+    public function comparison($x, $operator, $y, $type = null) {
115
+        $x = $this->helper->quoteColumnName($x);
116
+        $y = $this->helper->quoteColumnName($y);
117
+        return $this->expressionBuilder->comparison($x, $operator, $y);
118
+    }
119 119
 
120
-	/**
121
-	 * Creates an equality comparison expression with the given arguments.
122
-	 *
123
-	 * First argument is considered the left expression and the second is the right expression.
124
-	 * When converted to string, it will generated a <left expr> = <right expr>. Example:
125
-	 *
126
-	 *     [php]
127
-	 *     // u.id = ?
128
-	 *     $expr->eq('u.id', '?');
129
-	 *
130
-	 * @param mixed $x The left expression.
131
-	 * @param mixed $y The right expression.
132
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
133
-	 *                  required when comparing text fields for oci compatibility
134
-	 *
135
-	 * @return string
136
-	 */
137
-	public function eq($x, $y, $type = null) {
138
-		$x = $this->helper->quoteColumnName($x);
139
-		$y = $this->helper->quoteColumnName($y);
140
-		return $this->expressionBuilder->eq($x, $y);
141
-	}
120
+    /**
121
+     * Creates an equality comparison expression with the given arguments.
122
+     *
123
+     * First argument is considered the left expression and the second is the right expression.
124
+     * When converted to string, it will generated a <left expr> = <right expr>. Example:
125
+     *
126
+     *     [php]
127
+     *     // u.id = ?
128
+     *     $expr->eq('u.id', '?');
129
+     *
130
+     * @param mixed $x The left expression.
131
+     * @param mixed $y The right expression.
132
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
133
+     *                  required when comparing text fields for oci compatibility
134
+     *
135
+     * @return string
136
+     */
137
+    public function eq($x, $y, $type = null) {
138
+        $x = $this->helper->quoteColumnName($x);
139
+        $y = $this->helper->quoteColumnName($y);
140
+        return $this->expressionBuilder->eq($x, $y);
141
+    }
142 142
 
143
-	/**
144
-	 * Creates a non equality comparison expression with the given arguments.
145
-	 * First argument is considered the left expression and the second is the right expression.
146
-	 * When converted to string, it will generated a <left expr> <> <right expr>. Example:
147
-	 *
148
-	 *     [php]
149
-	 *     // u.id <> 1
150
-	 *     $q->where($q->expr()->neq('u.id', '1'));
151
-	 *
152
-	 * @param mixed $x The left expression.
153
-	 * @param mixed $y The right expression.
154
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
155
-	 *                  required when comparing text fields for oci compatibility
156
-	 *
157
-	 * @return string
158
-	 */
159
-	public function neq($x, $y, $type = null) {
160
-		$x = $this->helper->quoteColumnName($x);
161
-		$y = $this->helper->quoteColumnName($y);
162
-		return $this->expressionBuilder->neq($x, $y);
163
-	}
143
+    /**
144
+     * Creates a non equality comparison expression with the given arguments.
145
+     * First argument is considered the left expression and the second is the right expression.
146
+     * When converted to string, it will generated a <left expr> <> <right expr>. Example:
147
+     *
148
+     *     [php]
149
+     *     // u.id <> 1
150
+     *     $q->where($q->expr()->neq('u.id', '1'));
151
+     *
152
+     * @param mixed $x The left expression.
153
+     * @param mixed $y The right expression.
154
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
155
+     *                  required when comparing text fields for oci compatibility
156
+     *
157
+     * @return string
158
+     */
159
+    public function neq($x, $y, $type = null) {
160
+        $x = $this->helper->quoteColumnName($x);
161
+        $y = $this->helper->quoteColumnName($y);
162
+        return $this->expressionBuilder->neq($x, $y);
163
+    }
164 164
 
165
-	/**
166
-	 * Creates a lower-than comparison expression with the given arguments.
167
-	 * First argument is considered the left expression and the second is the right expression.
168
-	 * When converted to string, it will generated a <left expr> < <right expr>. Example:
169
-	 *
170
-	 *     [php]
171
-	 *     // u.id < ?
172
-	 *     $q->where($q->expr()->lt('u.id', '?'));
173
-	 *
174
-	 * @param mixed $x The left expression.
175
-	 * @param mixed $y The right expression.
176
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
177
-	 *                  required when comparing text fields for oci compatibility
178
-	 *
179
-	 * @return string
180
-	 */
181
-	public function lt($x, $y, $type = null) {
182
-		$x = $this->helper->quoteColumnName($x);
183
-		$y = $this->helper->quoteColumnName($y);
184
-		return $this->expressionBuilder->lt($x, $y);
185
-	}
165
+    /**
166
+     * Creates a lower-than comparison expression with the given arguments.
167
+     * First argument is considered the left expression and the second is the right expression.
168
+     * When converted to string, it will generated a <left expr> < <right expr>. Example:
169
+     *
170
+     *     [php]
171
+     *     // u.id < ?
172
+     *     $q->where($q->expr()->lt('u.id', '?'));
173
+     *
174
+     * @param mixed $x The left expression.
175
+     * @param mixed $y The right expression.
176
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
177
+     *                  required when comparing text fields for oci compatibility
178
+     *
179
+     * @return string
180
+     */
181
+    public function lt($x, $y, $type = null) {
182
+        $x = $this->helper->quoteColumnName($x);
183
+        $y = $this->helper->quoteColumnName($y);
184
+        return $this->expressionBuilder->lt($x, $y);
185
+    }
186 186
 
187
-	/**
188
-	 * Creates a lower-than-equal comparison expression with the given arguments.
189
-	 * First argument is considered the left expression and the second is the right expression.
190
-	 * When converted to string, it will generated a <left expr> <= <right expr>. Example:
191
-	 *
192
-	 *     [php]
193
-	 *     // u.id <= ?
194
-	 *     $q->where($q->expr()->lte('u.id', '?'));
195
-	 *
196
-	 * @param mixed $x The left expression.
197
-	 * @param mixed $y The right expression.
198
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
199
-	 *                  required when comparing text fields for oci compatibility
200
-	 *
201
-	 * @return string
202
-	 */
203
-	public function lte($x, $y, $type = null) {
204
-		$x = $this->helper->quoteColumnName($x);
205
-		$y = $this->helper->quoteColumnName($y);
206
-		return $this->expressionBuilder->lte($x, $y);
207
-	}
187
+    /**
188
+     * Creates a lower-than-equal comparison expression with the given arguments.
189
+     * First argument is considered the left expression and the second is the right expression.
190
+     * When converted to string, it will generated a <left expr> <= <right expr>. Example:
191
+     *
192
+     *     [php]
193
+     *     // u.id <= ?
194
+     *     $q->where($q->expr()->lte('u.id', '?'));
195
+     *
196
+     * @param mixed $x The left expression.
197
+     * @param mixed $y The right expression.
198
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
199
+     *                  required when comparing text fields for oci compatibility
200
+     *
201
+     * @return string
202
+     */
203
+    public function lte($x, $y, $type = null) {
204
+        $x = $this->helper->quoteColumnName($x);
205
+        $y = $this->helper->quoteColumnName($y);
206
+        return $this->expressionBuilder->lte($x, $y);
207
+    }
208 208
 
209
-	/**
210
-	 * Creates a greater-than comparison expression with the given arguments.
211
-	 * First argument is considered the left expression and the second is the right expression.
212
-	 * When converted to string, it will generated a <left expr> > <right expr>. Example:
213
-	 *
214
-	 *     [php]
215
-	 *     // u.id > ?
216
-	 *     $q->where($q->expr()->gt('u.id', '?'));
217
-	 *
218
-	 * @param mixed $x The left expression.
219
-	 * @param mixed $y The right expression.
220
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
221
-	 *                  required when comparing text fields for oci compatibility
222
-	 *
223
-	 * @return string
224
-	 */
225
-	public function gt($x, $y, $type = null) {
226
-		$x = $this->helper->quoteColumnName($x);
227
-		$y = $this->helper->quoteColumnName($y);
228
-		return $this->expressionBuilder->gt($x, $y);
229
-	}
209
+    /**
210
+     * Creates a greater-than comparison expression with the given arguments.
211
+     * First argument is considered the left expression and the second is the right expression.
212
+     * When converted to string, it will generated a <left expr> > <right expr>. Example:
213
+     *
214
+     *     [php]
215
+     *     // u.id > ?
216
+     *     $q->where($q->expr()->gt('u.id', '?'));
217
+     *
218
+     * @param mixed $x The left expression.
219
+     * @param mixed $y The right expression.
220
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
221
+     *                  required when comparing text fields for oci compatibility
222
+     *
223
+     * @return string
224
+     */
225
+    public function gt($x, $y, $type = null) {
226
+        $x = $this->helper->quoteColumnName($x);
227
+        $y = $this->helper->quoteColumnName($y);
228
+        return $this->expressionBuilder->gt($x, $y);
229
+    }
230 230
 
231
-	/**
232
-	 * Creates a greater-than-equal comparison expression with the given arguments.
233
-	 * First argument is considered the left expression and the second is the right expression.
234
-	 * When converted to string, it will generated a <left expr> >= <right expr>. Example:
235
-	 *
236
-	 *     [php]
237
-	 *     // u.id >= ?
238
-	 *     $q->where($q->expr()->gte('u.id', '?'));
239
-	 *
240
-	 * @param mixed $x The left expression.
241
-	 * @param mixed $y The right expression.
242
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
243
-	 *                  required when comparing text fields for oci compatibility
244
-	 *
245
-	 * @return string
246
-	 */
247
-	public function gte($x, $y, $type = null) {
248
-		$x = $this->helper->quoteColumnName($x);
249
-		$y = $this->helper->quoteColumnName($y);
250
-		return $this->expressionBuilder->gte($x, $y);
251
-	}
231
+    /**
232
+     * Creates a greater-than-equal comparison expression with the given arguments.
233
+     * First argument is considered the left expression and the second is the right expression.
234
+     * When converted to string, it will generated a <left expr> >= <right expr>. Example:
235
+     *
236
+     *     [php]
237
+     *     // u.id >= ?
238
+     *     $q->where($q->expr()->gte('u.id', '?'));
239
+     *
240
+     * @param mixed $x The left expression.
241
+     * @param mixed $y The right expression.
242
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
243
+     *                  required when comparing text fields for oci compatibility
244
+     *
245
+     * @return string
246
+     */
247
+    public function gte($x, $y, $type = null) {
248
+        $x = $this->helper->quoteColumnName($x);
249
+        $y = $this->helper->quoteColumnName($y);
250
+        return $this->expressionBuilder->gte($x, $y);
251
+    }
252 252
 
253
-	/**
254
-	 * Creates an IS NULL expression with the given arguments.
255
-	 *
256
-	 * @param string $x The field in string format to be restricted by IS NULL.
257
-	 *
258
-	 * @return string
259
-	 */
260
-	public function isNull($x) {
261
-		$x = $this->helper->quoteColumnName($x);
262
-		return $this->expressionBuilder->isNull($x);
263
-	}
253
+    /**
254
+     * Creates an IS NULL expression with the given arguments.
255
+     *
256
+     * @param string $x The field in string format to be restricted by IS NULL.
257
+     *
258
+     * @return string
259
+     */
260
+    public function isNull($x) {
261
+        $x = $this->helper->quoteColumnName($x);
262
+        return $this->expressionBuilder->isNull($x);
263
+    }
264 264
 
265
-	/**
266
-	 * Creates an IS NOT NULL expression with the given arguments.
267
-	 *
268
-	 * @param string $x The field in string format to be restricted by IS NOT NULL.
269
-	 *
270
-	 * @return string
271
-	 */
272
-	public function isNotNull($x) {
273
-		$x = $this->helper->quoteColumnName($x);
274
-		return $this->expressionBuilder->isNotNull($x);
275
-	}
265
+    /**
266
+     * Creates an IS NOT NULL expression with the given arguments.
267
+     *
268
+     * @param string $x The field in string format to be restricted by IS NOT NULL.
269
+     *
270
+     * @return string
271
+     */
272
+    public function isNotNull($x) {
273
+        $x = $this->helper->quoteColumnName($x);
274
+        return $this->expressionBuilder->isNotNull($x);
275
+    }
276 276
 
277
-	/**
278
-	 * Creates a LIKE() comparison expression with the given arguments.
279
-	 *
280
-	 * @param string $x Field in string format to be inspected by LIKE() comparison.
281
-	 * @param mixed $y Argument to be used in LIKE() comparison.
282
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
283
-	 *                  required when comparing text fields for oci compatibility
284
-	 *
285
-	 * @return string
286
-	 */
287
-	public function like($x, $y, $type = null) {
288
-		$x = $this->helper->quoteColumnName($x);
289
-		$y = $this->helper->quoteColumnName($y);
290
-		return $this->expressionBuilder->like($x, $y);
291
-	}
277
+    /**
278
+     * Creates a LIKE() comparison expression with the given arguments.
279
+     *
280
+     * @param string $x Field in string format to be inspected by LIKE() comparison.
281
+     * @param mixed $y Argument to be used in LIKE() comparison.
282
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
283
+     *                  required when comparing text fields for oci compatibility
284
+     *
285
+     * @return string
286
+     */
287
+    public function like($x, $y, $type = null) {
288
+        $x = $this->helper->quoteColumnName($x);
289
+        $y = $this->helper->quoteColumnName($y);
290
+        return $this->expressionBuilder->like($x, $y);
291
+    }
292 292
 
293
-	/**
294
-	 * Creates a ILIKE() comparison expression with the given arguments.
295
-	 *
296
-	 * @param string $x Field in string format to be inspected by ILIKE() comparison.
297
-	 * @param mixed $y Argument to be used in ILIKE() comparison.
298
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
299
-	 *                  required when comparing text fields for oci compatibility
300
-	 *
301
-	 * @return string
302
-	 * @since 9.0.0
303
-	 */
304
-	public function iLike($x, $y, $type = null) {
305
-		return $this->expressionBuilder->like($this->functionBuilder->lower($x), $this->functionBuilder->lower($y));
306
-	}
293
+    /**
294
+     * Creates a ILIKE() comparison expression with the given arguments.
295
+     *
296
+     * @param string $x Field in string format to be inspected by ILIKE() comparison.
297
+     * @param mixed $y Argument to be used in ILIKE() comparison.
298
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
299
+     *                  required when comparing text fields for oci compatibility
300
+     *
301
+     * @return string
302
+     * @since 9.0.0
303
+     */
304
+    public function iLike($x, $y, $type = null) {
305
+        return $this->expressionBuilder->like($this->functionBuilder->lower($x), $this->functionBuilder->lower($y));
306
+    }
307 307
 
308
-	/**
309
-	 * Creates a NOT LIKE() comparison expression with the given arguments.
310
-	 *
311
-	 * @param string $x Field in string format to be inspected by NOT LIKE() comparison.
312
-	 * @param mixed $y Argument to be used in NOT LIKE() comparison.
313
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
314
-	 *                  required when comparing text fields for oci compatibility
315
-	 *
316
-	 * @return string
317
-	 */
318
-	public function notLike($x, $y, $type = null) {
319
-		$x = $this->helper->quoteColumnName($x);
320
-		$y = $this->helper->quoteColumnName($y);
321
-		return $this->expressionBuilder->notLike($x, $y);
322
-	}
308
+    /**
309
+     * Creates a NOT LIKE() comparison expression with the given arguments.
310
+     *
311
+     * @param string $x Field in string format to be inspected by NOT LIKE() comparison.
312
+     * @param mixed $y Argument to be used in NOT LIKE() comparison.
313
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
314
+     *                  required when comparing text fields for oci compatibility
315
+     *
316
+     * @return string
317
+     */
318
+    public function notLike($x, $y, $type = null) {
319
+        $x = $this->helper->quoteColumnName($x);
320
+        $y = $this->helper->quoteColumnName($y);
321
+        return $this->expressionBuilder->notLike($x, $y);
322
+    }
323 323
 
324
-	/**
325
-	 * Creates a IN () comparison expression with the given arguments.
326
-	 *
327
-	 * @param string $x The field in string format to be inspected by IN() comparison.
328
-	 * @param string|array $y The placeholder or the array of values to be used by IN() comparison.
329
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
330
-	 *                  required when comparing text fields for oci compatibility
331
-	 *
332
-	 * @return string
333
-	 */
334
-	public function in($x, $y, $type = null) {
335
-		$x = $this->helper->quoteColumnName($x);
336
-		$y = $this->helper->quoteColumnNames($y);
337
-		return $this->expressionBuilder->in($x, $y);
338
-	}
324
+    /**
325
+     * Creates a IN () comparison expression with the given arguments.
326
+     *
327
+     * @param string $x The field in string format to be inspected by IN() comparison.
328
+     * @param string|array $y The placeholder or the array of values to be used by IN() comparison.
329
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
330
+     *                  required when comparing text fields for oci compatibility
331
+     *
332
+     * @return string
333
+     */
334
+    public function in($x, $y, $type = null) {
335
+        $x = $this->helper->quoteColumnName($x);
336
+        $y = $this->helper->quoteColumnNames($y);
337
+        return $this->expressionBuilder->in($x, $y);
338
+    }
339 339
 
340
-	/**
341
-	 * Creates a NOT IN () comparison expression with the given arguments.
342
-	 *
343
-	 * @param string $x The field in string format to be inspected by NOT IN() comparison.
344
-	 * @param string|array $y The placeholder or the array of values to be used by NOT IN() comparison.
345
-	 * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
346
-	 *                  required when comparing text fields for oci compatibility
347
-	 *
348
-	 * @return string
349
-	 */
350
-	public function notIn($x, $y, $type = null) {
351
-		$x = $this->helper->quoteColumnName($x);
352
-		$y = $this->helper->quoteColumnNames($y);
353
-		return $this->expressionBuilder->notIn($x, $y);
354
-	}
340
+    /**
341
+     * Creates a NOT IN () comparison expression with the given arguments.
342
+     *
343
+     * @param string $x The field in string format to be inspected by NOT IN() comparison.
344
+     * @param string|array $y The placeholder or the array of values to be used by NOT IN() comparison.
345
+     * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
346
+     *                  required when comparing text fields for oci compatibility
347
+     *
348
+     * @return string
349
+     */
350
+    public function notIn($x, $y, $type = null) {
351
+        $x = $this->helper->quoteColumnName($x);
352
+        $y = $this->helper->quoteColumnNames($y);
353
+        return $this->expressionBuilder->notIn($x, $y);
354
+    }
355 355
 
356
-	/**
357
-	 * Creates a $x = '' statement, because Oracle needs a different check
358
-	 *
359
-	 * @param string $x The field in string format to be inspected by the comparison.
360
-	 * @return string
361
-	 * @since 13.0.0
362
-	 */
363
-	public function emptyString($x) {
364
-		return $this->eq($x, $this->literal('', IQueryBuilder::PARAM_STR));
365
-	}
356
+    /**
357
+     * Creates a $x = '' statement, because Oracle needs a different check
358
+     *
359
+     * @param string $x The field in string format to be inspected by the comparison.
360
+     * @return string
361
+     * @since 13.0.0
362
+     */
363
+    public function emptyString($x) {
364
+        return $this->eq($x, $this->literal('', IQueryBuilder::PARAM_STR));
365
+    }
366 366
 
367
-	/**
368
-	 * Creates a `$x <> ''` statement, because Oracle needs a different check
369
-	 *
370
-	 * @param string $x The field in string format to be inspected by the comparison.
371
-	 * @return string
372
-	 * @since 13.0.0
373
-	 */
374
-	public function nonEmptyString($x) {
375
-		return $this->neq($x, $this->literal('', IQueryBuilder::PARAM_STR));
376
-	}
367
+    /**
368
+     * Creates a `$x <> ''` statement, because Oracle needs a different check
369
+     *
370
+     * @param string $x The field in string format to be inspected by the comparison.
371
+     * @return string
372
+     * @since 13.0.0
373
+     */
374
+    public function nonEmptyString($x) {
375
+        return $this->neq($x, $this->literal('', IQueryBuilder::PARAM_STR));
376
+    }
377 377
 
378
-	/**
379
-	 * Binary AND Operator copies a bit to the result if it exists in both operands.
380
-	 *
381
-	 * @param string|ILiteral $x The field or value to check
382
-	 * @param int $y Bitmap that must be set
383
-	 * @return IQueryFunction
384
-	 * @since 12.0.0
385
-	 */
386
-	public function bitwiseAnd($x, $y) {
387
-		return new QueryFunction($this->connection->getDatabasePlatform()->getBitAndComparisonExpression(
388
-			$this->helper->quoteColumnName($x),
389
-			$y
390
-		));
391
-	}
378
+    /**
379
+     * Binary AND Operator copies a bit to the result if it exists in both operands.
380
+     *
381
+     * @param string|ILiteral $x The field or value to check
382
+     * @param int $y Bitmap that must be set
383
+     * @return IQueryFunction
384
+     * @since 12.0.0
385
+     */
386
+    public function bitwiseAnd($x, $y) {
387
+        return new QueryFunction($this->connection->getDatabasePlatform()->getBitAndComparisonExpression(
388
+            $this->helper->quoteColumnName($x),
389
+            $y
390
+        ));
391
+    }
392 392
 
393
-	/**
394
-	 * Binary OR Operator copies a bit if it exists in either operand.
395
-	 *
396
-	 * @param string|ILiteral $x The field or value to check
397
-	 * @param int $y Bitmap that must be set
398
-	 * @return IQueryFunction
399
-	 * @since 12.0.0
400
-	 */
401
-	public function bitwiseOr($x, $y) {
402
-		return new QueryFunction($this->connection->getDatabasePlatform()->getBitOrComparisonExpression(
403
-			$this->helper->quoteColumnName($x),
404
-			$y
405
-		));
406
-	}
393
+    /**
394
+     * Binary OR Operator copies a bit if it exists in either operand.
395
+     *
396
+     * @param string|ILiteral $x The field or value to check
397
+     * @param int $y Bitmap that must be set
398
+     * @return IQueryFunction
399
+     * @since 12.0.0
400
+     */
401
+    public function bitwiseOr($x, $y) {
402
+        return new QueryFunction($this->connection->getDatabasePlatform()->getBitOrComparisonExpression(
403
+            $this->helper->quoteColumnName($x),
404
+            $y
405
+        ));
406
+    }
407 407
 
408
-	/**
409
-	 * Quotes a given input parameter.
410
-	 *
411
-	 * @param mixed $input The parameter to be quoted.
412
-	 * @param mixed|null $type One of the IQueryBuilder::PARAM_* constants
413
-	 *
414
-	 * @return ILiteral
415
-	 */
416
-	public function literal($input, $type = null) {
417
-		return new Literal($this->expressionBuilder->literal($input, $type));
418
-	}
408
+    /**
409
+     * Quotes a given input parameter.
410
+     *
411
+     * @param mixed $input The parameter to be quoted.
412
+     * @param mixed|null $type One of the IQueryBuilder::PARAM_* constants
413
+     *
414
+     * @return ILiteral
415
+     */
416
+    public function literal($input, $type = null) {
417
+        return new Literal($this->expressionBuilder->literal($input, $type));
418
+    }
419 419
 
420
-	/**
421
-	 * Returns a IQueryFunction that casts the column to the given type
422
-	 *
423
-	 * @param string $column
424
-	 * @param mixed $type One of IQueryBuilder::PARAM_*
425
-	 * @return string
426
-	 */
427
-	public function castColumn($column, $type) {
428
-		return new QueryFunction(
429
-			$this->helper->quoteColumnName($column)
430
-		);
431
-	}
420
+    /**
421
+     * Returns a IQueryFunction that casts the column to the given type
422
+     *
423
+     * @param string $column
424
+     * @param mixed $type One of IQueryBuilder::PARAM_*
425
+     * @return string
426
+     */
427
+    public function castColumn($column, $type) {
428
+        return new QueryFunction(
429
+            $this->helper->quoteColumnName($column)
430
+        );
431
+    }
432 432
 }
Please login to merge, or discard this patch.
lib/public/BackgroundJob.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -32,18 +32,18 @@
 block discarded – undo
32 32
  * @deprecated 14.0.0
33 33
  */
34 34
 class BackgroundJob {
35
-	/**
36
-	 * @since 5.0.0
37
-	 * @deprecated 14.0.0
38
-	 */
39
-	public static function getExecutionType() {
40
-		return '';
41
-	}
35
+    /**
36
+     * @since 5.0.0
37
+     * @deprecated 14.0.0
38
+     */
39
+    public static function getExecutionType() {
40
+        return '';
41
+    }
42 42
 
43
-	/**
44
-	 * @since 5.0.0
45
-	 * @deprecated 14.0.0
46
-	 */
47
-	public static function setExecutionType($type) {
48
-	}
43
+    /**
44
+     * @since 5.0.0
45
+     * @deprecated 14.0.0
46
+     */
47
+    public static function setExecutionType($type) {
48
+    }
49 49
 }
Please login to merge, or discard this patch.