Commit 375b8823 authored by jwage's avatar jwage

[2.0] Fixing use of constant value

parent 987eaac4
...@@ -124,15 +124,15 @@ class QueryBuilder ...@@ -124,15 +124,15 @@ class QueryBuilder
* [php] * [php]
* switch ($qb->getType()) * switch ($qb->getType())
* { * {
* case 0: * case QueryBuilder::SELECT:
* echo 'SELECT'; * echo 'SELECT';
* break; * break;
* *
* case 1: * case QueryBuilder::DELETE:
* echo 'DELETE'; * echo 'DELETE';
* break; * break;
* *
* case 2: * case QueryBuilder::UPDATE:
* echo 'UPDATE'; * echo 'UPDATE';
* break; * break;
* } * }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment