File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
lib/internal/Magento/Framework/Setup/Patch Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+ declare (strict_types=1 );
6
7
7
8
namespace Magento \Framework \Setup \Patch ;
8
9
@@ -309,9 +310,11 @@ private function applyPatch((PatchInterface $patch): void
309
310
*/
310
311
private function isApplied (PatchInterface $ patch ): bool
311
312
{
312
- if (!$ this ->patchHistory ->isApplied (get_class ($ patch ))) {
313
+ $ patchIdentity = get_class ($ patch );
314
+ if (!$ this ->patchHistory ->isApplied ($ patchIdentity )) {
313
315
foreach ($ patch ->getAliases () as $ alias ) {
314
316
if ($ this ->patchHistory ->isApplied ($ alias )) {
317
+ $ this ->patchHistory ->fixPatch ($ patchIdentity );
315
318
return true ;
316
319
}
317
320
}
You can’t perform that action at this time.
0 commit comments