fzaninotto/Propel2 — comment on commit 782563a34904a177f1f8d885dd5d658a9509e1ac
File: src/Propel/Runtime/Connection/StatementWrapper.php line 61
By fzaninotto:

No, not here. It's on purpose. You see, a StatementWrapper only works if built by a ConnectionWrapper, because it will later need abilities that only ConnectionWrapper (and not any class implementing ConnectionInterface) provides. See for instance L83.

So there is no mistake here.