original_string: private function setDueDate(Carbon $dueDate = null)
      {
          if (is_null($dueDate)) {
              $dueDate = Carbon::now();
          }
  
          $this->dueDate = $dueDate;
      }
code: private function setDueDate(Carbon $dueDate = null)
      {
          if (is_null($dueDate)) {
              $dueDate = Carbon::now();
          }
  
          $this->dueDate = $dueDate;
      }
code_tokens: private function setDueDate ( Carbon $ dueDate = null ) { if ( is_null ( $ dueDate ) ) { $ dueDate = Carbon :: now ( ) ; } $ this -> dueDate = $ dueDate ; }
docstring: Set the due date of the invoice, if null, set the current date.
  
  @param Carbon $dueDate | null
  
  @return void
docstring_tokens: Set the due date of the invoice if null set the current date .