Completed
Push — master ( a6f0ce...ec09e9 )
by Ondřej
03:04
created
src/Ivory/Exception/StatementExceptionFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -114,6 +114,9 @@
 block discarded – undo
114 114
         return new $exClass($resultHandler, $query);
115 115
     }
116 116
 
117
+    /**
118
+     * @param resource $resultHandler
119
+     */
117 120
     private function inferExceptionClass($resultHandler, StatementExceptionFactory $fallbackFactory = null): string
118 121
     {
119 122
         if ($this->bySqlStateCodeAndMessage || $this->bySqlStateCode || $this->bySqlStateClass) {
Please login to merge, or discard this patch.
src/Ivory/Type/IntrospectingTypeDictionaryCompiler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
     private $connection;
10 10
     private $connHandler;
11 11
 
12
+    /**
13
+     * @param resource $connHandler
14
+     */
12 15
     public function __construct(IConnection $connection, $connHandler)
13 16
     {
14 17
         $this->connection = $connection;
Please login to merge, or discard this patch.
src/Ivory/Lang/SqlPattern/SqlPatternParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
      * @param bool|null $quoted
99 99
      * @return string|null <tt>null</tt> iff <tt>$str</tt> is <tt>null</tt>
100 100
      */
101
-    private function unquoteString($str, bool &$quoted = null)
101
+    private function unquoteString($str, bool & $quoted = null)
102 102
     {
103 103
         if ($str && $str[0] == '"') {
104 104
             assert($str[strlen($str) - 1] == '"');
Please login to merge, or discard this patch.
src/Ivory/Relation/ProjectedRelationBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * @param int $starCnt number of star wildcards is stored here
31 31
      * @return string PCRE equivalent to <tt>$macroPattern</tt>
32 32
      */
33
-    protected static function simpleMacroPatternToPcre(string $macroPattern, int &$starCnt = null): string
33
+    protected static function simpleMacroPatternToPcre(string $macroPattern, int & $starCnt = null): string
34 34
     {
35 35
         $starCnt = 0;
36 36
         $pcre = '/^';
Please login to merge, or discard this patch.