From dff4d5c7dcd36d03d240d351d2f5ffc61c643b5c Mon Sep 17 00:00:00 2001 From: Stephen Sigwart Date: Sat, 6 Jul 2019 15:48:24 -0400 Subject: [PATCH] Remove semicolons --- src/udl/skel/PHP/pylib/lang_php.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/udl/skel/PHP/pylib/lang_php.py b/src/udl/skel/PHP/pylib/lang_php.py index 8355f644e8..e5078906f4 100644 --- a/src/udl/skel/PHP/pylib/lang_php.py +++ b/src/udl/skel/PHP/pylib/lang_php.py @@ -1504,7 +1504,7 @@ def _getFQNForType(varType, fileinfo, namespace): if varType.startswith("(") and varType.endswith(")"): return _getFQNForTypePiece(varType[1:-1], fileinfo, namespace) # Handle int|null - varTypes = varType.split("|"); + varTypes = varType.split("|") rtn = "" for varTypePiece in varTypes: if rtn != "": @@ -1529,7 +1529,7 @@ def _getFQNForTypePiece(varType, fileinfo, namespace): varType = use_import.name + "\\" + use_import.symbol if varType[0] != "\\": varType = "\\" + varType - break; + break else: # Add namespace if not found if namespace: