{"record":{"id":"a0e8e3a83df04384","repo":"phalcon/cphalcon","slug":"the-definition-has-properties-injection-parameters","errorCode":null,"errorMessage":"The definition has properties injection parameters but the constructor didn't return an instance","messagePattern":"The definition has properties injection parameters but the constructor didn't return an instance","errorType":"exception","errorClass":"Phalcon\\Di\\Exceptions\\PropertyInjectionRequiresInstance","httpStatus":null,"severity":"error","filePath":"phalcon/Di/Service/Builder.zep","lineNumber":150,"sourceCode":"                         * Go to next method call\n                         */\n                        continue;\n                    }\n                }\n\n                /**\n                 * Call the method on the instance without arguments\n                 */\n                call_user_func(methodCall);\n            }\n        }\n\n        /**\n         * The definition has properties?\n         */\n        if fetch paramCalls, definition[\"properties\"] {\n            if unlikely typeof instance !== \"object\" {\n                throw new PropertyInjectionRequiresInstance();\n            }\n\n            if unlikely typeof paramCalls !== \"array\" {\n                throw new SetterParametersMustBeArray();\n            }\n\n            /**\n             * The method call has parameters\n             */\n            for propertyPosition, property in paramCalls {\n                /**\n                 * The call parameter must be an array of arrays\n                 */\n                if unlikely typeof property != \"array\" {\n                    throw new PropertyMustBeArray(propertyPosition);\n                }\n\n                /**","sourceCodeStart":132,"sourceCodeEnd":168,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Di/Service/Builder.zep#L132-L168","documentation":"Error \"The definition has properties injection parameters but the constructor didn't return an instance\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Di/Service/Builder.zep:150 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b7419de9cd0a8a3f48441ead84c9f8415d463e25","analyzedAt":"2026-08-21T06:21:18.811Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}