[BUGFIX] Fix signal returns for associated signal arguments
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Service / SqlExpectedSchemaService.php
index 5bfd1af..d4ba68b 100644 (file)
@@ -86,8 +86,8 @@ class SqlExpectedSchemaService {
         * @return mixed
         */
        protected function emitTablesDefinitionIsBeingBuiltSignal(array $sqlString) {
-               $signalReturn = $this->signalSlotDispatcher->dispatch(__CLASS__, 'tablesDefinitionIsBeingBuilt', array('sqlString' => $sqlString));
-               $sqlString = $signalReturn['sqlString'];
+               $signalReturn = $this->signalSlotDispatcher->dispatch(__CLASS__, 'tablesDefinitionIsBeingBuilt', array($sqlString));
+               $sqlString = $signalReturn[0];
                if (!is_array($sqlString)) {
                        throw new Exception\UnexpectedSignalReturnValueTypeException(
                                sprintf(