original_string: protected function filterTtl(&$ttl): void
      {
          if ($ttl !== null) {
              if ($ttl instanceof \DateInterval) {
                  $ttl = (int) $ttl->format('%s');
              }
              $ttl = (int) $ttl;
          }
      }
code: protected function filterTtl(&$ttl): void
      {
          if ($ttl !== null) {
              if ($ttl instanceof \DateInterval) {
                  $ttl = (int) $ttl->format('%s');
              }
              $ttl = (int) $ttl;
          }
      }
code_tokens: protected function filterTtl ( & $ ttl ) : void { if ( $ ttl !== null ) { if ( $ ttl instanceof \ DateInterval ) { $ ttl = ( int ) $ ttl -> format ( '%s' ) ; } $ ttl = ( int ) $ ttl ; } }
docstring: Mixed ttl to seconds
  @param mixed $ttl
  @return void
docstring_tokens: Mixed ttl to seconds