Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Interval.php

function Interval::noDev

Return value

array{'names': string[], 'exclude': bool}

2 calls to Interval::noDev()
Intervals::generateIntervals in vendor/composer/semver/src/Intervals.php
@phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}
Intervals::generateSingleConstraintIntervals in vendor/composer/semver/src/Intervals.php
@phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}

File

vendor/composer/semver/src/Interval.php, line 93

Class

Interval

Namespace

Composer\Semver

Code

public static function noDev() {
    // nothing == no names included
    return array(
        'names' => array(),
        'exclude' => false,
    );
}
RSS feed
Powered by Drupal