Skip to content

Commit

Permalink
add todo for dublicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-martz committed Dec 22, 2019
1 parent d886095 commit cca7bd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions worktime-log.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ function isCurrent($command,$current,$program){

if (isPhpStorm($prozess, $program)){
$new = dataPhpStorm($prozess, $program);
/**
* @todo move dublicated code to function
*/
if ($new !== null) {
$data['program'][$program['name']][$new['name']] = $new;

Expand Down

0 comments on commit cca7bd9

Please sign in to comment.