Skip to content
Snippets Groups Projects
Select Git revision
  • 16880789bd735a2e2a8e3f4b183792965c8ec253
  • main default protected
  • devel
  • 1.1.0
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
9 results

AlphabeticalComparator.php

Blame
  • AlphabeticalComparator.php 239 B
    <?php declare(strict_types=1);
    
    namespace WPDesk\Migrations\Version;
    
    class AlphabeticalComparator implements Comparator {
    
        public function compare(Version $a, Version $b): int {
            return strcmp((string) $a, (string) $b);
        }
    }