OK thats a valid point.
BM is programmed on strict standard, which means no declaration => Integer.
While I myself program only strict as well, I clearly declare stuff (no, $ # ! are NO DECLARATIONS!! They only mean you are even too lazy to write :int or :string) to prevent such problems at a later date. I do this especially on functions / methods to already state there that there is a return or not.
I should mention: I'm using HotDocs instead of BRL own documentation so I have the full type declaration in front of me when I run into such questions and it makes quite a difference as stuff is defined there :) (beside int = no type declaration)
BM is programmed on strict standard, which means no declaration => Integer.
While I myself program only strict as well, I clearly declare stuff (no, $ # ! are NO DECLARATIONS!! They only mean you are even too lazy to write :int or :string) to prevent such problems at a later date. I do this especially on functions / methods to already state there that there is a return or not.
I should mention: I'm using HotDocs instead of BRL own documentation so I have the full type declaration in front of me when I run into such questions and it makes quite a difference as stuff is defined there :) (beside int = no type declaration)