PMCORE-4013 Wizard trigger: is using a old library thirdparty/wizard please research to use a new or Reflection
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
|
||||
use ProcessMaker\PHPReflectionClass\ClassStructure;
|
||||
use ProcessMaker\Plugins\PluginRegistry;
|
||||
|
||||
class TriggerLibrary
|
||||
@@ -105,14 +107,13 @@ class TriggerLibrary
|
||||
* getMethodsFromLibraryFile
|
||||
*
|
||||
* @param string $file
|
||||
* @return object(PHPClass) $parsedLibrary
|
||||
* @return ClassStructure $parsedLibrary
|
||||
*/
|
||||
public function getMethodsFromLibraryFile($file)
|
||||
{
|
||||
// parse class comments from file
|
||||
$parsedLibrary = new PHPClass();
|
||||
$parsedLibrary = new ClassStructure();
|
||||
$success = $parsedLibrary->parseFromFile($file);
|
||||
|
||||
return $parsedLibrary;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user