Skip to content

Commit

Permalink
1.0.12
Browse files Browse the repository at this point in the history
- Yazım hatası giderildi
  • Loading branch information
Hasokeyk committed Feb 22, 2021
1 parent cc4524c commit 06e5c96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require (__DIR__).'/src/customer_rfm.php';

use consumer_rfm\customer_rfm;
use customer_frm\customer_rfm;

$fake_data = json_decode(file_get_contents((__DIR__).'/test-2.json'),true);

Expand Down
5 changes: 2 additions & 3 deletions src/customer_rfm.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php


namespace consumer_rfm;

namespace customer_frm;

use DateTime;

Expand Down Expand Up @@ -234,7 +233,7 @@ public function customer_group($score = null){
$t_musteri = count($this->buy_list);
$k_musteri = count($this->c_cont);

echo $t_musteri.' Müşteriden. '.$k_musteri.' adeti kategorilendirildi. '.($t_musteri - $k_musteri).' adet müşteri kaldı'."\n";
//echo $t_musteri.' Müşteriden. '.$k_musteri.' adeti kategorilendirildi. '.($t_musteri - $k_musteri).' adet müşteri kaldı'."\n";

return $result_cat;
}
Expand Down

0 comments on commit 06e5c96

Please sign in to comment.