doctrine / orm

@@ -44,9 +44,7 @@
Loading
44 44
            $lines[] = '$metadata->isMappedSuperclass = true;';
45 45
        }
46 46
47 -
        if ($metadata->inheritanceType) {
48 -
            $lines[] = '$metadata->setInheritanceType(ClassMetadataInfo::INHERITANCE_TYPE_' . $this->_getInheritanceTypeString($metadata->inheritanceType) . ');';
49 -
        }
47 +
        $lines[] = '$metadata->setInheritanceType(ClassMetadataInfo::INHERITANCE_TYPE_' . $this->_getInheritanceTypeString($metadata->inheritanceType) . ');';
50 48
51 49
        if ($metadata->customRepositoryClassName) {
52 50
            $lines[] = "\$metadata->customRepositoryClassName = '" . $metadata->customRepositoryClassName . "';";

@@ -57,7 +57,7 @@
Loading
57 57
            $root->addAttribute('schema', $metadata->table['schema']);
58 58
        }
59 59
60 -
        if ($metadata->inheritanceType && $metadata->inheritanceType !== ClassMetadataInfo::INHERITANCE_TYPE_NONE) {
60 +
        if ($metadata->inheritanceType !== ClassMetadataInfo::INHERITANCE_TYPE_NONE) {
61 61
            $root->addAttribute('inheritance-type', $this->_getInheritanceTypeString($metadata->inheritanceType));
62 62
        }
63 63

@@ -27,6 +27,7 @@
Loading
27 27
 * The paginator can handle various complex scenarios with DQL.
28 28
 *
29 29
 * @template-covariant T
30 +
 * @implements IteratorAggregate<array-key, T>
30 31
 */
31 32
class Paginator implements Countable, IteratorAggregate
32 33
{
@@ -41,7 +42,7 @@
Loading
41 42
    /** @var bool|null */
42 43
    private $useOutputWalkers;
43 44
44 -
    /** @var int */
45 +
    /** @var int|null */
45 46
    private $count;
46 47
47 48
    /**

@@ -1055,7 +1055,7 @@
Loading
1055 1055
        }
1056 1056
1057 1057
        if (isset($metadata->table['options']) && $metadata->table['options']) {
1058 -
            $table[] = 'options={' . $this->exportTableOptions((array) $metadata->table['options']) . '}';
1058 +
            $table[] = 'options={' . $this->exportTableOptions($metadata->table['options']) . '}';
1059 1059
        }
1060 1060
1061 1061
        if (isset($metadata->table['uniqueConstraints']) && $metadata->table['uniqueConstraints']) {
Files Coverage
lib/Doctrine/ORM 84.75%
Project Totals (371 files) 84.75%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading