Code Duplication    Length = 11-11 lines in 2 locations

src/ReadModel/Storage/Pdo/Parser/DefaultParser.php 1 location

@@ 134-144 (lines=11) @@
131
     *
132
     * @return string
133
     */
134
    protected function quote($field)
135
    {
136
        $parts = explode('.', $field);
137
        $quotes = array();
138
139
        foreach ($parts as $part) {
140
            $quotes[] = $this->quote . $part . $this->quote;
141
        }
142
143
        return implode('.', $quotes);
144
    }
145
}
146

src/ReadModel/Storage/Pdo/PdoFinder.php 1 location

@@ 492-502 (lines=11) @@
489
     *
490
     * @return string
491
     */
492
    protected function quote($field)
493
    {
494
        $parts = explode('.', $field);
495
        $quotes = array();
496
497
        foreach ($parts as $part) {
498
            $quotes[] = $this->quote . $part . $this->quote;
499
        }
500
501
        return implode('.', $quotes);
502
    }
503
}
504