Skip to content

Commit 4d259de

Browse files
committed
Fix format
1 parent 37cdd47 commit 4d259de

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

ProcessMaker/Exception/ExportEmptyProcessException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ class ExportEmptyProcessException extends Exception
88
{
99
public function __construct(Exception $e)
1010
{
11-
parent::__construct("The process to export is empty.");
11+
parent::__construct('The process to export is empty.');
1212
}
1313
}

ProcessMaker/ImportExport/Exporters/ProcessExporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ private function exportScreens()
292292
}
293293

294294
// Let's check if interstitialScreen exist
295-
if (is_numeric($interstitialScreenId) && $allowInterstitial === "true") {
295+
if (is_numeric($interstitialScreenId) && $allowInterstitial === 'true') {
296296
$interstitialScreen = Screen::findOrFail($interstitialScreenId);
297297
$this->addDependent(DependentType::INTERSTITIAL_SCREEN, $interstitialScreen, ScreenExporter::class, $meta);
298298
}

ProcessMaker/ImportExport/Utils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public static function getElementsByPath($document, $path)
4343
{
4444
try {
4545
$xpath = new DOMXPath($document);
46+
4647
return $xpath->query($path);
4748
} catch (Exception $e) {
4849
if ($e->getMessage() === 'DOMXPath::query(): Undefined namespace prefix') {

0 commit comments

Comments
 (0)