{"action":"created","issue":{"url":"https://api.github.com/repos/yajra/laravel-oci8/issues/321","repository_url":"https://api.github.com/repos/yajra/laravel-oci8","labels_url":"https://api.github.com/repos/yajra/laravel-oci8/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/yajra/laravel-oci8/issues/321/comments","events_url":"https://api.github.com/repos/yajra/laravel-oci8/issues/321/events","html_url":"https://github.com/yajra/laravel-oci8/issues/321","id":247237141,"number":321,"title":"ExecuteProcedure shortcut method","user":{"login":"854R","id":29107878,"avatar_url":"https://avatars3.githubusercontent.com/u/29107878?v=4","gravatar_id":"","url":"https://api.github.com/users/854R","html_url":"https://github.com/854R","followers_url":"https://api.github.com/users/854R/followers","following_url":"https://api.github.com/users/854R/following{/other_user}","gists_url":"https://api.github.com/users/854R/gists{/gist_id}","starred_url":"https://api.github.com/users/854R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/854R/subscriptions","organizations_url":"https://api.github.com/users/854R/orgs","repos_url":"https://api.github.com/users/854R/repos","events_url":"https://api.github.com/users/854R/events{/privacy}","received_events_url":"https://api.github.com/users/854R/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-02T00:07:16Z","updated_at":"2017-08-02T16:52:44Z","closed_at":"2017-08-02T14:53:28Z","body":"### Summary of problem or feature request\r\n\r\nAnyone using the shortcut method successfully? I'm getting a \"wrong number of arguments\" error when I call a stored procedure that takes 2 IN parameters and inserts a new record in a table.\r\n\r\nWhen I dump the exception error, it shows that the stored procedure is being called with 3 parameters - the 3rd being :cursor. I don't have a 3rd parameter in my stored procedure. The ExecuteProcedure seems to be inserting it.\r\n\r\nWhen I use the manual method (as per the Yajra docs), it works fine since there is no 3rd parameter being coded. I'd like to use the shortcut method as it's more compact to code.\r\n\r\nThanks.\r\n\r\n### Code snippet of problem\r\n\r\n```php\r\n$bindings = [ $user['emplid'], $user['pno'] ];\r\n$result = DB::executeProcedure('MyPackage.InsertProfile', $bindings);\r\n```\r\n\r\n### System details\r\n\r\n<!--\r\nPlease include these details about your system!\r\nIf they are omitted, the ticket will be deprioritized\r\nover other users requests/tickets.\r\n-->\r\n\r\n- Operating System\r\n- PHP Version: 7.0.21\r\n- Laravel Version: 5.4\r\n- Laravel-OCI8 Version: 5.4?\r\n"},"comment":{"url":"https://api.github.com/repos/yajra/laravel-oci8/issues/comments/319732267","html_url":"https://github.com/yajra/laravel-oci8/issues/321#issuecomment-319732267","issue_url":"https://api.github.com/repos/yajra/laravel-oci8/issues/321","id":319732267,"user":{"login":"854R","id":29107878,"avatar_url":"https://avatars3.githubusercontent.com/u/29107878?v=4","gravatar_id":"","url":"https://api.github.com/users/854R","html_url":"https://github.com/854R","followers_url":"https://api.github.com/users/854R/followers","following_url":"https://api.github.com/users/854R/following{/other_user}","gists_url":"https://api.github.com/users/854R/gists{/gist_id}","starred_url":"https://api.github.com/users/854R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/854R/subscriptions","organizations_url":"https://api.github.com/users/854R/orgs","repos_url":"https://api.github.com/users/854R/repos","events_url":"https://api.github.com/users/854R/events{/privacy}","received_events_url":"https://api.github.com/users/854R/received_events","type":"User","site_admin":false},"created_at":"2017-08-02T16:52:44Z","updated_at":"2017-08-02T16:52:44Z","body":"Hi, please advise what the release number of this fix is. I just updated to version 5.4.13 a while ago and I'm still getting the same error i.e. wrong number of arguments.\r\n\r\nThanks."}}
{"actor":{"display_login":"854R"}}