summaryrefslogtreecommitdiffstats
path: root/93.patch
blob: 06143be27e303a05374f3eda6f0c19c329b00d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 70667fe80d193e1da2975356ecbff0287830d7b8 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Mon, 27 Aug 2018 08:15:06 +0200
Subject: [PATCH] Fix PHP 7.3 warning: "continue" targeting switch is
 equivalent to "break". Did you mean to use "continue 2"?

---
 src/ArrayObject.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ArrayObject.php b/src/ArrayObject.php
index 926ff6ea..8c77c620 100644
--- a/src/ArrayObject.php
+++ b/src/ArrayObject.php
@@ -425,7 +425,7 @@ public function unserialize($data)
                     $this->setIteratorClass($v);
                     break;
                 case 'protectedProperties':
-                    continue;
+                    break;
                 default:
                     $this->__set($k, $v);
             }