Passed
Push — master ( 2bd1cf...bfbffa )
by
unknown
05:03
created
includes/admin/notifications.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,8 @@  discard block
 block discarded – undo
141 141
 	 * @since {VERSION}
142 142
 	 *
143 143
 	 */
144
-	public function verify( $notifications ) { // phpcs:ignore Generic.Metrics.CyclomaticComplexity.TooHigh
144
+	public function verify( $notifications ) {
145
+// phpcs:ignore Generic.Metrics.CyclomaticComplexity.TooHigh
145 146
 
146 147
 		$data = array();
147 148
 
@@ -462,7 +463,8 @@  discard block
 block discarded – undo
462 463
 		// Remove notification and add in dismissed array.
463 464
 		if ( is_array( $option[ $type ] ) && ! empty( $option[ $type ] ) ) {
464 465
 			foreach ( $option[ $type ] as $key => $notification ) {
465
-				if ( $notification['id'] == $id ) { // phpcs:ignore WordPress.PHP.StrictComparisons
466
+				if ( $notification['id'] == $id ) {
467
+// phpcs:ignore WordPress.PHP.StrictComparisons
466 468
 					// Add notification to dismissed array.
467 469
 					array_unshift( $option['dismissed'], $notification );
468 470
 					// Remove notification from feed or events.
Please login to merge, or discard this patch.